I would add most EV's now come with an extensive warranty on the motors and battery pack. Mine is six years drive motor, eight years battery pack. The new solid state batteries will allow a minimum 12 years warranty. They don't have gearboxes/clutches to go wrong/service. Some EV's do use a two step ratio adjuster though.
The research i did before buying seemed to indicate software/firmware glitches was the most common failures. The normal 12v battery can fail and should be changed every three years to prevent this. Then the battery charger control unit in the car. Traction motors can fail. The actual traction battery was the least thing that went wrong. Independant garages are popping up to deal with EV battery repairs for older EV's.
With EV's, failures tend to be specific components that fail. So repairs tend to only require that part to be changed.
With ICE, a single failure can take out the entire engine. Even routine repairs can lead to large bills due to needing replacement gaskets/pipes, and then fluids and oils. Just getting to some stuff can be a nightmare. You are constantly trying to keep oil and water were they need to be, and never for them to meet!
I know it is an extreme example, but my Audi SQ5 needed a timing chain, a gearbox service and rear diff service.
The car ran perfectly and had a full Audi service history. The chain was £4000 (Audi independant), and that was assuming the cam sprockets didn't need doing. That added another £4000 (it comes as a whole top end assembly). They recommended some plastic bits be changed while the engine was out, another £1000. The gearbox service was £600, the diff another £500.
I had already spent a few thousand the year before having a new serpent belt and harmonic pulley replaced (cracked rubber), and the whole intake system cleaned due to the direct injection engine. Injector seals can start leaking at 75k, so they had to be done. Then there was two rocker cover oil seals need replacing. So it had to go.
I really look after my cars. But modern cars with all the emission gear give you absolutely no chance. They are simply too complex to run on an ever depreciating asset. My future plans for ICE is going to to be something much older with a manual gearbox. And it will be for weekend use only!