> Automated trains are just like elevators
Ahem. No.
There is no collision hazard in elevators (essentially each elevator is on its own dedicated track). In railway, collision hazards are everywhere because you can change track and there are multiple trains on the same track, possibly (yikes) in head to head movements.
If you want to see the specs of a real Automatic Train Protection, the European one is public [1]. And that is only the protection part. There is no automatic pilot in there.
[1] https://www.era.europa.eu/content/set-specifications-3-etcs-...