passenger vehicles are a TOTALLY different ballgame than commercial long haul trucking. Even the early Tesla models could beat top of the line sports cars in some performance measures. The thing is the people who buy class 7 & 8 trucks work off an excel spreadsheet. They don't give a shit if the truck can accelerate way faster than a Cummins diesel or that the driver has a way better HUD or user experience than in a Freightliner cab. They certainly don't care very much that the truck is more environmentally friendly. Maybe they'll pay 10% more all else equal but that's not what Tesla or anyone else is able to provide.
They only care about $/mile and unless there is some massive technical breakthrough, batteries ain't beating diesel any time in the near future on that measure.
Notice the Tesla Semi has been delayed for three years now?