Fwiw 10 years end of life is the low end. Everything I've read is that the batteries last 10-20 years..approximately up to 200k miles.
I can only assume that Tesla and all other EV manufacturers are going to greatly improve battery life, replacement cost, and actual cost of creating the batteries moving forward.