I think history will show people have vastly overestimated the durability of EV and not just because of batteries.
Inverters have IGBTs and capacitors, both of which are wear items. I don't have an EV, but just got solar, and my installer told me that I can expect the inverter will need replacing in 15 years.
And solar inverters push far less wattage at far more benign circumstances than cars' do, which push 100s of kWs peak in hot and cold, mud and rain.
Don't forget these parts have been around in hybrids for multiple decades, and taxis often use hybrids (so higher milage, longer running times). In my country the most popular car for taxis and food delivery is the Prius gen 2, which was made from 2003 - 2009.