The global energy sector is in transition, with major oil companies under pressure to cut emissions while staying profitable.