Nobody is going to pay to replace their battery after 10 years, they will sell the car before then.
There are loads of 10+ year old Renault Zoe, Nissan LEAF, and Mitsubishi I-MIEV/Peugeot Ion/Citroen C-Zero around.
Most still have 60% or more of their battery capacity left.
Which makes them...