TotalEnergies is one of the biggest foreign investors in Adani's business empire and had previously taken stakes in the group's renewable energy venture.