And neither does an internal combustion engine, either. Your point?
A ICE can be expected to outlast the car if it's from a decent manufacturer such as Toyota or Honda. You have 30-40 year old engines still running that have been repurposed into newer bodies (some from crappy manufacturers where engines failed like a GM or Ford, others into stock car frames and oversized go-karts). A battery is not expected to live for the lifetime of the car regardless. With a Honda Civic, the engine is going to outlast the rest of the car.
You're expected to need a battery replacement some time in the future, long before the things like engines, CV joints, drive trains, steering racks, door handles, electric mirrors, seat motors and so on fail. We know that Li-ion batteries degrade over time, your laptop battery in 3 years will not last as long as it does today so It's not unreasonable to want to know this cost in advance. With a prius or other hybrid, you can use that as a conventional fuel burning car after the battery fails, but not with a full EV.