Its much harder to compete now, even originally Chinese-based jobs are being outsourced too.
For now, Western companies are still choosing countries in Asia. Maybe Chinese companies are choosing African countries because minimum wage has increased in China and many factories have gone bankrupt and other Asian countries only cater to Western countries for their factory needs.