Most EVs won't ever have their batteries replaced; it simply won't be necessary. This is a perennial concern about EVs that simply isn't a big deal in practice, and EVs have been around long enough to have data points here.
Most people don't own and use cars for nearly long enough to fully wear out a battery pack on an EV that they've bought new.