Nissan didn't (and still might not) have active cooling in their batteries and was seeing high failure rates in states like Arizona. Because of this, Nissan ended up extending battery warranties to 8 years / 100,000 miles. Basically if there is anything wrong with the battery or it's capacity drops below 9 bars (starts at 12), then Nissan will replace it.
Combined state and federal deductions on EVs were up to 50% of the purchase or lease price of a Leaf and could be deducted over several years. This combined with annual fuel savings when gas was $4 a gallon meant people could drive a new car for little more than the cost of insurance since Nissan was including free charging at qualified stations for 2 years. So a lot of Leafs were bought or leased and being dumped on the market now that all the incentives are drying up.
It has a 70k warranty on all major systems and 2 years of road side assistance. Which reminds me I can remove that from my insurance coverage and save about $15 a month.
I was spending over $1000 a year maintaining my old car so for the same or less expense I now have what I consider a much nicer car and modern features. It's also a lot more fun to drive.