Can you prove that, because that is not my understanding. EVs use way more CO2 in their manufacturing. Not to mention the added environmental impact of battery manufacturing and lithium mining. We can't solve climate change by buying a new car.
Edit. I'm sure Musk and Tesla are super proud of the CO2 savings their company provides, so it shouldn't be hard to find the data they are publishing showing the net cost to carbon for the entire manufacturing and life time use of their product.