Environmental groups say the controversial deal means South Africa will be tied to fossil fuels for the next 20 years