This whole wind and solar thing is nothing but a big ruse that will NEVER pan out to provide us with the amount of power we require. It's much the same with all of these electric cars. They will never replace fuel efficient gasoline models. They just won't, because they can't.
The problem with electricity is it has to be transmitted and used the instant it is made. Storage is a serious problem. Bill Gates calculated that all of the batteries on planet Earth fully charged to 100% capacity, would only hold 10 minutes of the total power required in the world today. It will be decades before that improves to a level that will make electric cars compatible with high mileage gasoline vehicles.
Right now you can put 16 gallons of gas into a gas tank of a fuel efficient car, and it will take you 550 miles or more. And when it's empty it can be refilled in a couple of minutes and you're off again. Electric cars are decades away from competing with that.... If they ever will.
And as far as the world "running out" of gas. They were saying that in the 70's during the Carter Administration. We're no closer to that now, than we were then. And we're currently finding new oil reserves faster than we can deplete the old one's.
But if the supply were to to seriously diminish, the price will begin to increase dramatically. This added cost will then help drive new ways of powering vehicles. And squeeze even more mileage out of the fuel that remains. As always it will be money and profitability within the private sector that will drive this. Not some professor at Berkeley gluing solar panels on a wooden car that weighs 120 pounds, that you have to lay down in to drive.
https://www.youtube.com/watch?v=iXHTmEUGR7c