US greatest talent is (perhaps was) it’s ability to attract the talent of the world and creating great value out of it. This happened primarily during and after the world wars was as many nations were becoming more hostile places and American open culture and values became a refuge for many. US will only truly lose it’s leadership position when it gives up on moral leadership.
There's one thing US did that was quite close to China is doing now in Africa: Marshal Plan. It was long time ago.
Western media totally misread the real situation. HNer's seems have less population from Africa but more from US/Europa because of majority of them are form tech industry. But if you go to Youtube which has more average people, you will find a lot more African. The tone is quite different.