Discharge efficiency varies from battery to battery. Generally speaking, it's a 90+% efficient process (as is charging). However, there are certainly exceptions which are more or less efficient.
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).