China’s interests in Africa are being shaped by the race for renewable energy