French oil major TotalEnergies expects global oil demand to rise until 2040 before gradually declining, citing political fragmentation and energy security concerns as factors slowing efforts to reduce emissions.