What a terrible comparison and reeks of anti EV BS. You are portraying a cam belt failure on a high mileage ICE as a simple and easy cam belt replacement. The chances of a cam belt failure without proper maintenance is incredibly high and the results are catastrophic. This usually means a write off on older high mileage ICE.
A battery pack failure is exceptionally rare in a modern (post 2020) EV with decent BMS. The vast majority of credible sources indicate an EV battery will last longer than the rest of the car.
A far more accurate comparison would be a total engine failure on an older high mileage ICE. Even then pretty much all EVs have an 8 year ~100,000 mile battery warranty. So for the vast VAST majority of owners, a battery failure will fall under warranty and would be very rare.
The stories you hear about “new” EVs being written off due to replacement battery costs are generally because of a crash resulting in excessive damage. Or if they fall outside warranty.
So when you read of the EV6 having a battery failure at 104,000 miles, that’s because it is not covered under warranty and the car is worth a lot less than a new 77kWh battery.
Some of the repair costs for modern ICE and PHEVs are eye watering. Making them unviable economically to repair.
With EVs manufacturers have caused a situation where no one wants them outside warranty. Thats because they've dropped the ball on repairability on both EVs and ICE.