The energy transition is an existential long-term risk for oil and gas companies, as the move away from fossil fuels towards low-carbon technologies impacts demand for hydrocarbons.