Let's forget about Africa/Latin America for a moment. The comparison always ignore 2 differences about the relations:
1.China build roads, buildings not only for living but also whole industrial parks that create jobs in Africa which local population can also benefit later on while the US seldom do the same thing at least with compatible scale. I'm not saying China is unselfishly helping Africans but it's more kind of long term selfish behavior that cultivate local stability and prosperity.
2.China don't set up values promotion preconditions for financial aids to Africa countries while US/Western countries often have a "universal values" promotion agenda combined with financial aids, maybe with good intention.
Western MSM almost always omit these 2 differences when making comparisons trying to sell their own belief that the relations are similar.
People should be rightly concerned about the recent backtracking in China's governance, but that is independent of the concerns expressed here. The whole thing reeks of projection. Truth be told, America has benefited the most from the global trade era, with cheap goods and cheap capital practically bestowed like tributes from the entire world. Blame Congress for not redistributing that enormous windfall, not other countries for aspiring to the same standard of living as even the poorest Americans.
Imagine the US being nuked as "a taste of their own medicine" for previously being the only country to use nukes... how would that work out for developing countries? I would guess not well. Not well at all. Just like a nuclear war impacts more than just the countries fighting, a trade war between two superpowers is going to hurt the developing world far more than it will hurt the US or China.