I don't think anyone has an extended warranty for the battery, but don't worry about it. Many Teslas will perform fine for many years after that. Then again, it could go at any time. If you like it, drive it until that time comes for best depreciation. Just deduct the cost of a battery from its value when it fails. It likely will still have value. Then get another car.