Moving away from fossil fuels is cheaper. Green energy is very cheap, it just misses a base load component right now. It's just that the people benefiting are different ones. And those people are going to lose sooner or later anyway, because in addition to climate change, fossil fuels are also finite.
The only reason trump is on the oil bandwagon is because many of his buddies are benefiting from it. And probably because he's still pissed at the Scotland windmill thing.
But doing the right thing doesn't have to make you poor. It will benefit everyone including the investors.