In principle, you are right and this should at least be done in cooperation with African states. But it isn't about being a savior or missionary, it is about not being a bully.
Simply letting advanced industries compete with local farmers isn't going to work out. In Europe, twelve people can run six farms with hundreds of cows each. In Africa twelve people work with two cows. In addition, European farmers receive subsidies, so that they work with lower cost and can compete with Chinese factories.
I am not sure how much African politicians can do alone about such dynamics. And as the migration problem shows us, we have shared interests here.