Railroad trains are very energy-efficient, compared to cars driving along a road, or even trucks driving along a road. And if we suddenly had self-driving cars, packed close together and safer than the existing system, trains would still be more efficient.
The link below shows a table of transportation methods and efficiencies -- it shows railroad trains beating even motorcycles for efficiency.
http://en.wikipedia.org/wiki/Energy_efficiency_in_transporta...