An effort to put a tax on carbon dioxide emissions just won an unlikely underwriter: a top producer of oil and gas.