Oil and gas corporations are reaping windfall profits from the pandemic and Russia’s war in Ukraine.