I have been trying to find a solution to this problem for the longest (I think about this everyday) . This option is clearly out of the equation: I am not letting any foreign enterprise just lease or own hectares of land by kicking out the indigenous population but here lies the problem with almost every African country when it comes to foreign direct investment. Governance is poor all over and corruption only a corrupt and incompetent government would allow this stuff to happen. Secondly, the reason why Africa feels the need for investment from outside because it lacks the infrastructure, technology and human capital especially in capital intensive activities such as mining. In order to assess how much you natural resources are worth and how much you should tax, you need to have geologists and people who studied natural resources and how much of it is on the ground, find out the market prices for those things so the govt can tax instead of multinationals swindle you with their own team of experts.
That's why my solution is to aggressively encourage people in the diaspora to come back with their expertise because institutions in Africa are weak (universities, grad school, research and development which is non-existent). I feel like that is the only viable situation right now outside of the govt. being on the side of the people. It's a crazy dilemma: you don't want foreigners to take over your country however your country does not have the skilled individuals, technology to start their own multinationals or to make sure that these multinationals don't swindle as a result of weak instiutitons.