The advent of driverless vehicles most probably won't make rail obsolete.
For riders of rail are people who most likely can not afford a driverless car or vehicle.
That means, the only means to commute to work by those who can not afford a driverless car or vehicle is by train or by bus.

To advocate stopping rail there's a need to provide an option for which rail was conceived - as a mode of transportation that bypasses traffic congestion for those taking public transportation.