Transmission costs probably eat a bigger portion of EV total efficiency. Those depend on how far you are from your power source and what voltage your power is transmitted at.
That said, a thing EVs do that ICEs can't is accept power from any source. That means that only a fraction of the fuel is actually generated from a fossil fuel.
One other thing to consider is that as power density goes up for batteries, the amount of required batteries go down, ultimately reducing vehicle weight and improving range.
Assuming batteries were ever 10x their current power density, you'd probably not see cars with 10x range, rather, you'd see something like 400mile range cars with the same total power capacity of yesteryear cars. Pretty much all because you've cut the pack weight down by 1/10th (probably less because you need a lot less infrastructure around maintaining temperature for 1/10th the number of batteries).
Same with electrical generation with generators or whatever. One of the best things about BEV even if run off fossil fuels is that power plants don't care to much about space or weight, they can do multiple levels of heat recovery and whatever emissions controls and get higher thermal efficiency with lower emissions and all that complicated gear is not being carried around in your car nor maintained by you. On top of that now you are decoupled from energy source so changing fuel oil to natural gas or mixing solar, wind or nuclear doesn't change your vehicle.
You still need to account for the discharge efficiency of the battery (which I cannot find numbers for).
For overall energy usage, electric still still has whatever inefficiencies exist in the generator (and charging inefficiency), but those don't effect power density