Only because control of engine-out emissions was lost in pursuit of absolute CO2 reduction, NOx being the consequnce and the most difficult and expensive to curtail with after-treatment.
Look closely and you'll find electric motors require machining etc. etc and in any case, the engine of the future will slash the parts count.
That's the folly of diesel. That and its uncontrollable (in practical terms) NOx output.
As I've said, it's time the ICE was rethought and when it is the electric motor and its absurdly heavy and chemically unstable battery will be the redundant technology.
I think you're looking at the wrong place.
The only reason that EVs did not completely replace ICE cars, is the battery. The EV battery is expensive, bulky, heavy, and provides limited range. If you could resolve these issues, especially the cost of the EV battery, then EVs will be much cheaper than ICE cars.
But as far as engine vs motor goes, the electric motor wins hands-down. It's cheaper to make, has far less moving parts and so more reliable by definition, and has near-zero maintenance.
Claiming that an ICE engine in a car is 'better' in any way than an electric motor, is like saying that a Rolex is cheaper, or more reliable, or more accurate, or cheaper to service, than a Swatch...... the Swatch wins hands-down on all counts. What makes the Rolex better is one thing only, and that's the ownership experience. Yes, ICE cars drive very differently, and those who like the driving experience, will continue to buy them for as long as they are available, even if they end up costing more and are a pain to service.
That was the engine... now shall we start talking abut the manufacturing cost and servicing cost of an ICE car transmission...? Just how much machining is required here...?:
It's a work of art, I agree... but why would you want one, if you can instead have a car that simply does not need it?
(And yes, I know, some EV sport cars manufacturers are about to add some form of a basic transmission to their EVs)