Technology is almost always a double edged sword. One of the advances will soon be self driving cars. In as few as 5-10 years the technology may allow for the driver to relax, only having to be alerted occasionally by a beep to check that all is OK. The impact on taxi, Uber and Lyft drivers could be the disappearance of their jobs.
I can't help but wonder how long it will be before we have "self driving" locomotives. With advances in GPS, widespread broadband and satellite internet and the computer controls in modern locomotives it is theoretically possible that in 10 years that engineers could become obsolete, replaced by "monitors" who ride in the cab and only respond to warning chimes, beeps, etc. Sensors in bearing housings could transmit a warning long before the bearing overheats via internet. Sensors at each brake hose connection could do the same relaying information to the cab and dispatcher. Safety will be enhanced but, again good jobs will be lost. The computer driving the train won't run out of hours, limiting crew changes. Track sensors could communicate with the locomotive, slowing a train going too fast and maximizing train speeds on a one track main to use sidings as efficiently as possible.
Of course, when there is a problem sensors can't detect, someone will still have to walk the train, set out a car, etc. And, if there is a hack the result could be disastrous unless there are appropriate overrides.
Model railroaders are way ahead of the real thing. We've had "driverless" trains for over 100 years.