Not to mention retooling factories. They can't just spin around on a dime and start making electric cars instead of gas ones.
Oh, and where's the charging infrastructure for everyone to drive an electric car? The Tesla stations are great, but they still take 30 minutes or so to fully charge a car. Go look at the throughput at a busy gas station and imagine every one of those people waiting 30 minutes. They'd basically never get to leave the gas station.
Auto jobs are going away, but that's an argument for basic income for another day.
Retooling factories can be done quickly. It only took Tesla ~10-14 days of downtime to retool from Model S-only production to Model S and Model X. Electric vehicles are so so much easier to produce than an internal combustion vehicle, as its only a battery and electric motor for a drivetrain.
Charging infrastructure? Every home with at least 100amp/220V service is a charging station. Not to mention every Tesla destination and Supercharger station.
You can't taking a company with a 50+ year infrastructure built around doing one thing, tell it to stop doing that overnight and expect it to stay in business and continue employing 100,000 people. It just doesn't work that way.