Hmmm, when I see this I have to wonder. The early Nissan LEafs had batteries that lasted such a short time, but Teslas (by far the largest amount of battery powered cars out there) battery packs have a far longer lifespan. So if you double those lifespans, how does that affect the math?
Tesla batteries retain over 90 percent of their charging power after 160,000 miles, according to data gathered by a Dutch-Belgium Tesla owners group. According to its survey of over 350 owners, the EVs dropped about 5 percent of their capacity after 50,000 miles, but lose it at a much slower...
www.engadget.com
One rental joint in LA has had one do 400,000 miles. Factory battery was replaced at 194,000 miles, exhibiting 6% loss becuase it had other issues due to the opwner not following reommended practice of not Supercharging constantly and routinely recharging to 100%. Both activities are the EV equivalent of running around at redline for a gas engine. . The replacement did develop a problem at 324,000 miles.
Tesla’s vehicles are becoming increasingly popular with taxi and shuttle services, which are pushing their vehicles a lot over short periods...
electrek.co
One thing to note about the energy required to mine the materials is that the batteries do get recycled. There is still the dirty power used to charge, but that's on the grid to fix. Or you could put up solar panels and buy a Powerwall. Some folks have done that and the Powerwall is sufficient to recharge the daily use needs of the car.