Africa must capitalise on the shift to renewable energy, and process its minerals instead of just exporting them