Investors are increasingly agreeing to African governments’ demands for local mineral beneficiation, driven by their need to secure access to the continent’s valuable resources