Let's look at the successful economies of East Asia:
Japan was a first world country, an economic success before WWII, and then had the US occupation after the war to rebuild it economically and politically as a hedge against future Japanese threats and against Russia and China.
South Korea never suffered Western colonialism (?) but did suffer under Japan. After that and the Korean War, iirc it was one of the poorest places on Earth. Now they are among the wealthiest and most free, maybe the greatest such accomplishment ever. They also benefitted from direct US support, as a counter-balance to the neighboring communist states.
Taiwan has direct US support to contain the communist regime in mainland China, first as a right-wing authoritarian dictatorship and then as a democracy.
China suffered 50-150 years of Western colonialsm, depending on how you measure it (the UK still controlled Hong Kong until the late 1990s). They were very poor into the 1990s. Then, opening their economy to investment (a project begun in the late 1970s), and with major manufacturing economies as neighbors (Japan, Taiwan, S Korea, etc.), they became the center of global manufacturing and trade and reaped the financial benefits.
By comparison, how will African countries attract investment? They are geopolitically located in a place that matters, and are not the global center of population nor many of the other Chinese advantages such as a massive single market that complied with Western requirements, proximity to wealthy neighbors such as Japan, Taiwan, etc.