You can't make a gallon of Diesel to a Kwh of Electricity comparison because of the efficiency differences between ICE and EVs. Diesel engines (and Gas) are only around 25% efficient when it comes to moving the vehicle down the road while Electric Motors are better than 90% efficient. Most of the energy from a gallon of Diesel (or Gas) is wasted as heat.
Yes, the charging Infrastructure is going to require huge amounts of electricity, but by using batteries to buffer the demands on the grid, the grid can easily handle the extra energy requirements.
One giant benefit of electrifying our transportation sector is eliminating our reliance on foreign Oil from countries that don't really like us. By converting to Electric Transport we can take charge of our own energy needs and eliminate the need to fight a war over Oil ever again.
Sure you can make the comparison, you just have to account for the efficiency differences, which I did. A gallon of diesel actually has about 37KWH of energy in it, but, as you rightly point out, engines aren't anywhere near 100% efficient, but, at a constant load (like you have in highway speed driving) modern diesel engines are much better than 25%, they are closer to 40%. However, for the math I presented, I used a very inefficient diesel engine, assuming only 10KW out of the 37KW available (~25% efficient, a modern semi would be much closer to 40% than the 25% I used, which would make the numbers more outrageous for power requirements).
Also, in my truck stop example, while I didn't call out "buffer batteries" the impact of the way I did the math is the same, by assuming "smooth" charging over 24 hours, it's basically 11MW of power that's consumed if we intend to have a truck stop "fill up" the same number of semis that it does today with diesel fuel. In reality, you're right, you'd need large battery banks at the truck stop to deal with the fact that charging won't take place "evenly" over a 24 hour period, but, if you intend to keep that battery charged, the net result is the same, you need 11MW of power pulled into each truck stop.
There are a ton of advantages to electrifying our transportation. And for some applications, we're going to see it happen in the medium term; the UPS truck drives 40 miles a day and then sits at the depot all night, perfect candidate for electrification and no huge logistical challenges to jump over. Commuter vehicles, passenger cars, ATVs, motorcycles. We already see, and will see more, in all these areas over the short/medium term future. It's long haul, specifically long haul with a heavy load, where we just really don't have the technology/hurdles figured out because the power requirements are so high and the number of miles driven (on a long haul semi, for example) are equally outrageous. Will we figure it out? I'm sure we will, electric charging stations will become more commonplace, the electrical subsystem will improve, and eventually, we'll get there. But it's not as simple as "release a good truck/semi and the problems disappear", in fact, that's kind of the start of the "hard" problems. EV's work for a lot of people today because you can charge them at home in a reasonable time period, get reasonable range per charge, and have a network of places to charge up on a long trip. Apply that to a truck towing an RV, it would take days to fill it up at home (or an RV park), you'll get similar range after that charge to a standard EV, and there's almost no network of places that can accomodate a 60' long combined rig and charge it in a reasonable timeframe for >500 mile trips. The logistics just aren't there to replace a 4500 class diesel pickup truck for your Momentum with an EV for many of us. Not yet. They will be, I have no doubt, but it going to be a much longer process that most people think it will be because of simple math the outlines the power requirements of these things.
The way to overcome the logistics challenges today is, as I mentioned before, put a generator on board and make it a diesel-electric vehicle, similar to a train or a ship. That tech exists today, we could greatly improve the efficiency of modern pickup and semi trucks with a smallish diesel generator tuned for max efficiency at a single RPM band, and there's no logistics challenges at all. Also, the increase in cost wouldn't be that outrageous given the price point, drop out some batteries, add in a 100HP diesel engine/50KW generator, and away we go.
Something like this:
https://www.auroragenerators.com/product-page/50-kw-diesel-generator
That's an 18K dollar generator, but the price uplift to go from the 500KW to 1MW semi is expected to be ~30K dollars. Offer a 500KW version with a generator like this in it, now you've got something that can really displace long haul/heavy hauling (RVs) needs in a big truck.