A train can move more tonnage (see people) per unit of energy (kWhr/gallon of diesel/etc.) Than almost any other mode of transportation (gosh darn sailboats and barges being so efficient!) .
So why have 100's of electric motors and separate batteries to move people, when you can skip the batteries and have an electrified third rail and just an engine or two running a train for those hundreds of people.