The former head of Exxon Mobil oversaw the oil industry’s biggest corporate merger and brandished hostility towards climate-change activism.