Changes in funding show how precarious Africa is in its reliance on foreign aid and the pressing need to find alternatives to ensure economic and climate resilience