The short of it is that regardless of whether we go electric or stick with fossil fuels, this planet is screwed. Some other drastic new tech would have to be invented or another clean energy source discovered but with how self indulgent we humans are it'll probably be too late when that time comes.