The warranty lasts 10 years. It is basically guaranteed to work for ten years. This is probably analogous to the 60k mile warranty that comes with a Prius. Nobody is junking their Prius after 60 thousand miles.
Look at the press kit for more information.
http://www.teslamotors.com/presskit/teslaenergy?via=newslett...