https://www.idtechex.com/en/research-article/ev-power-electr...
Based on the tear downs I've seen I believe the 2000+ chips in the model S/X, but would be surprised if a model 3/y even had as many as 1000 (the number in a ICE vehicle). The model S/X were crazy complex, CPUs for each door lock, each window motor, each windshield motor, etc.
As a result VW, Ford, GM, Chevy, etc have to halt production lines, while Tesla has a record year.
A lot of ICE cars have similar complexity in these systems. It's much easier to put a module in each component and just send messages on the bus to control them. Most newer cars also detect objects in the path of the window and will stop/reverse the window to prevent pinching.
While EVs might have more $ in chips, I also suspect they have a lower chip count as more indicators and interactions are handled on screen. Meanwhile, most ICE vehicles still have analog gauges, analog gear shifters, physical gear selection illuminators, etc. and all of these need chips.
Monroe (on youtube) did a breakdown and said that the only other place he say CPU/ASIC/Sensor integration like on the model 3 was in satellites. Apparently there's a large CPU with a ton of pins that handles quite a bit of cars needs. Even the usually Bosche supplied ABS/Stability management/traction control functionality has been merged into the Tesla chip.
That's interesting... that's usually it's own ECU on most cars.
EVs, OTOH, can apply or reduce torque to the wheels much faster than even the brakes can respond. And being able to not only apply stopping force to a wheel, but also apply torque to another wheel makes for a totally different approach to stability management.
Put new tires on the front and the problem is solved.