Tesla cars are warrantied the same way. He over promises now to get traction, then uses the profit at volume to cover any gaps in initial deployments. It's a pretty solid plan, but you have to deliver or you lose your reputation. Musk knows he can do it.
Musk's batteries are the entire definition of a disruptive product. They're certainly not better than most energy solutions, but it'll be cheap and useful for a non-trivial sector of the market.
We haven't even begun to see the real advances in economies of scale for batteries, let alone the technologies that have been in development in the last decade.
At what number of deep-cycle discharges does it void?
Anyways - the entire purpose of the 10 kWh battery, is to be used in scenarios in which you fill them with Solar during the day and (potentially) drain them at night. So, unless someone states otherwise, I'd presume daily full discharge of the 10 kWh for that 10 year warranty.
There's environmental factors to it too - temperature has an effect, and if you can control the temperature over time, you can reduce the effect.
This lecture (1h, 13m) goes into it in detail, including how it can be prevented, ways of testing, and more: https://www.youtube.com/watch?v=9qi03QawZEk