As the two nations vie for key materials, the US has regained the lead in foreign direct investments in African countries.