Not that it's right or good, but shareholders profiting off of global warming are probably getting a net gain on the backs of the rest of the world.
If you want boards of directors to prioritize carbon neutrality and similar goals, you have to translate that into money. Tax the carbon and price the negative externalities. If you don't do this, and just hope all business people make decisions from their heart, you will always be let down.