When there are lots of people living on the moon or on Mars they'll probably like to have the same freedom to travel in their own personal vehicles that most of us in wealthier countries enjoy on Earth today, in fact, some sort of efficient transport across the surface of each planet is going to be crucial to development.
If we make the assumption that battery technology is never going to equal the energy density of petroleum fuels, and given the extra demands that are likely to be made on the energy systems of surface vehicle simply because of the environment they have to operate in, it would be useful to have a system that uses electricity but with which each vehicle would have a virtually unlimited electricity supply.
On the face of it that sounds impossible - without going nuclear - but it's actually pretty easy to do, all it requires is a roading system that has a reticulated power system that feeds each vehicle while it's traveling on longer journeys, and all that would require is a two rail fence down the middle of the major roads with the top rail being the positive, and the bottom rail the earth (think I'll stick with "earth" rather than try to be clever with "Lunar" or "Mars") each vehicle would be equipped with nothing more complicated than a couple of trolley poles to give unlimited range. To keep costs and hazards down, vehicles would still have batteries for emergency and just to cover the few tens of kilometers of unpowered minor roads, and the few kilometers of the driveway.
Thinking about it, it might even work on this planet.