You have to factor in the time value of money though. Car purchase price is an immediate cost while gas and electricity are costs over the life of the vehicle. Your average personal cars only gets driven about 15,000 miles a year and thus those gas and electric costs would be spread out over decades to reach a million miles. Probably still cost effective considering the average truck isn't that much cheaper though.