TotalEnergies buys Shell's 4GW renewables unit, sells 1.2GW stake to KKR