Even on grid using a ton of coal, ev more than compensate extra co2 generated during battery production.
On the not so green us grid (average of us), ev save 50% co2 over their lifetime.
But the grid is greening and so they are saving more and more. In france it's a factor 5.
ICE as the dominant form of locomotion is dead. People don't know it yet.
Of course some will be used for specialty work, but they will become a rarity in our lifetime.