My first comment is EV benefits are not just for climate. The article below outlines the economic and security benefits
https://bob-n-martha-roth.medium.com/ev-dreams-public-policy-15274b46f8f1
A second point is your analysis assumes a static cost to manufacture EVs. Li air batteries, for one example, have the theoretical energy density 8 x . So 1!8 the production emissions.
Another path would be to battery tech that offers 30,000 cycle life. So use it in many vehicles over 100 years.
Battery cost and performance has been doubling every 4 years.
So yes batteries in the first 10 million EV have a have production emission but by the time 100 million are built, the next billion will have less than 5% of todays production emission.
Li extraction process improvements are being demonstrated in labs today that are a factor of 10 less environmental cost.
The EV growth today funds the improvements on the above points. It’s an eco system. Suggesting EV are bad today so don’t buy them might be short sighted