Shell is selling wind and solar farms built with government support to TotalEnergies and KKR, turning its back on green energy.