My, admittedly poor, understanding of modern cars is that while most control-related subsystems in EVs are actual software, in ICEs, several of the points you raised (critical systems as, e.g., ignition, abs, pressure) are mostly directly synthesized in FPGAs or ASICs -- software is mostly used in the monitoring layer that is used to bring information to the dashboard, but not to actually control those systems, which are also mostly independent, or in the configuration layer, that can be used by vendors or enthusiasts to re-parametrize (configure) those units, but not to completely change functionality. Still, critical control is primarily performed directly by fixed, predictable, and formally verifiable electronics. But again, this might be my poor understanding of modern cars.
Nevertheless, a quick search also reveals that modern and future EVs have about three times more software: https://spectrum.ieee.org/elec... or https://www.goldmansachs.com/i... or https://www.automotiveworld.co...
Finally, modern EV platforms are even being considered "software-defined-vehicle" by industry, and one of the most relevant business strategies of automakers (originated by Tesla, if my memory doesn't fail me) is that you buy the hardware of the car, but you never own the software. The company can do whatever it wants, whenever it wants, with the software subsystems, including over-the-air updates that will certainly bring "new features" that nobody asked for and that will also almost certainly bring additional bugs.