EVs are well suited to light loads and short distances, rapid acceleration and altitude change but are not well suited to long range hauling of heavy loads due to the enormous energy required.
The only open question is: can you put enough batteries into a battery electric semi? If you can't, then of course the question about efficiency is moot. But if you can, everything speaks for battery electric vehicles. That is where the Tesla Semi comes into play. It promises ranges that are just enough for most applications, for those applications it has basically "won" right from the start. What remains to be seen is how large exactly the sector is which isn't served by the Semi. But in any case, with every improvement of the battery technology, that sector shrinks a bit further.
I grew up in the UK with electric milk floats, a practical use of EV's for short, quiet urban delivery. There's a reason electric heavy trucks, which were marketed in the 20's and 30's lost out to diesel. https://en.wikipedia.org/wiki/Walker_Electric_Truck
Also for an 18 wheeler just the amount of tires on the road requires tremendous torque to create a rolling load and sustain it. Freightliner are working hard to make E trucks viable but the acid test is fleet buyers and maintenance, it's a ruthlessly efficiency first market. https://freightliner.com/electric-trucks/