Nissan warrants that its electric car batteries will last eight years or 100,000 miles, for example and Tesla offers a similar guarantee.