We don't need to even do the math ourselves. It's already be done countless times and the results are always the same.
BEVs over their lifespan in the worst case scenario produce less than half as much CO2 emissions than a similar sized ICE vehicle.
https://www.epa.gov/greenvehicles/electric-vehicle-myths
https://climate.mit.edu/ask-mit/are-electric-vehicles-definitely-better-climate-gas-powered-cars
I'm surprised you struggled with this, with so many creditable sources available this was a really easy thing to look up.
That image shows revenue not profit