Africa leads global move to green energy as droughts, other climate challenges force new thinking