Locomotives manufactured today have a feature like the 'Press' in 'Press and Call', which is also similar to the AWS system used on railroads in the U.K. It's called an 'Alerter'. It's a button that at routine intervals it'll make a buzzing sound. You have a certain amount of time to press the Alerter to stop it buzzing and 'reset' the system. After an allotted amount of time, it starts buzzing again, and then you have to push it again. This repeats continuously and is designed to make sure the engineer is alert and is not incapacitated in anyway, shape, form or fashion. If they don't push the button in the allotted amount of time, the brakes will automatically apply and brings the train to stop. Not surprisingly, when the engineer has a lot of explaining to do when his superiors ask him 'why did you not push the alerter in time?'
Also, Japan is probably the most techno-savvy country in the world. They gave us Canon, Capcom, Casio, Fujifilm, Hitachi, JVC, Konami, Mitsubishi, Namco, Nikon, Nintento, Olympus, Panasonic, Sanrio, Sanyo, Sega, Sharp, Sigma, Sony, etc. I've listed those that are involved in the video game and technology industry, but there are others, mainly in the automotive industry.
EDIT: Also, there's an interesting features about Japan's trains. People think that Switzerland's trains run like a Swiss watch: they are always on schedule, down to the minute. However, Japan's trains are always on schedule, but down to thesecond. In fact, one of Japan's railroad companies went on national television and apologize for a train being late. I don't know if there's any other railroad in the world that would do that.