whilst I'm not sure EV is that answer (environmentally at least), you are missing the other challenge which is even bigger:
Oil is finite! it will run out, and as it gets less and less easy to get hold of, it will get more and more expensive. Many countries won't want to export it if it is...