Just anecdotal but: I bought a new European suv in 2017 drove 68,000 miles, very very gently. Turbo blew and sent debris into the engine, engine lost compression, needs full replacement, dealer quoted $35,000 job. Car was 6 years old, just out of warranty, was 60k new.
An ICE replacement is usually just a few thousand dollars. And that's the worse case scenario. Well maintained ICE cars can last for decades. A mandatory, $10-20k battery replacement for every BEV at some point in its lifetime is a big problem.
Consumeraffairs review of battery pack replacement costs (https://www.consumeraffairs.com/automotive/ev-battery-replac...) implies that this costs $13k-$17k, so much more than engine replacements for old cars, as long as we're talking about battery packs which have appropriate capacity for full EV, not a hybrid or simply putting in a much smaller capacity than originally installed.
That’s also an expensive repair job, but it hasn’t stopped the adoption of ICE vehicles.