This is the issue. A lot of hydocarbons can still be produced without extracting them from rocks miles under the ground, poisoning the water supply, or any of the externalities of runaway global warming.
The trick is leveraging insanely cheap solar electricity to do everything else.