The German chancellor wants to boost investment in African countries in a bid to curb migration to Europe.