This thread has lasted way longer than it deserves and has prompted me to think again about the OP.
It is, of course, correct on a btu to btu basis. But it breaks down if we consider what useful work we can obtain from each energy source starting from equal amounts of each energy type:
E.g., in a Model 3, 33.7 kWh of electricity moves the car ~ 135 miles
A gallon of petrol moves a car 15 - 50 miles
So even presuming the most efficient petrol car on the road, the Model 3 is cheaper to fuel.
Moreover, few people can directly affect their price of petrol whereas a large segment of the population can buy much cheaper electricity. Mine at home amortizes out to 2.5 cents a kWh