Hopes that Africa could “leapfrog” fossil fuels and move to renewables are not being realised.