> These days though i wonder why we don't have [semi-]autonomous control there.
The US does. That's what Positive Train Control does.[1]
For a long time, there was reluctance to apply automatic train stops to freight trains, because long freight trains don't do emergency stops well. Just slamming on the brakes on a heavy freight can cause derailments on some steep curves, and may cause wheels to develop a flat side. What PTC does is to display a graph of speed vs. distance ahead, and the driver must stay below the graph. The system will apply brakes if the current speed exceeds the speed limit line, but only as much brake as is required to get below the speed limit. Classic emergency stops forced a full stop, and then someone had to walk the length of the train and examine all the cars before a restart. With PTC, the speed graph will drop to zero at the end of a line, which prevents overruns. It took years, but PTC is now deployed on all US track.
There were generations of previous systems. Here's the New York Subway's classic control system, from General Railway Signal.[2] This is safe, but drastic - it stops trains by raising a metal arm at each signal, which, if raised, hits a valve lever which directly applies air brakes. There are timers, and if a train is going too fast, the brakes will be tripped by the trackside systems. At the ends of tracks, "too fast" is very slow.
[1] https://railroads.dot.gov/research-development/program-areas...
[2] https://www.nycsubway.org/wiki/Subway_Signals:_A_Complete_Gu...