China has invested billions of dollars in Africa in recent years, most of which was to acquire necessary natural resources to keep China's rapid economic growth.