US Secretary of State Mike Pompeo is begging China to "act like a normal nation" and avoid capturing developing nations in a debt trap leading to decades of pain widely distributed around the world (archived). This appeal seemingly crafted to tear at the heartstrings is void of a certain necessary context: Trapping developing nations in debt and amplifying their pain is the US and EU's schtick and they would very much like China to step back and get out of their way.
Chinese foreign investment isn't always without controversy where it occurs, but it tends to have a transparency the old IMF scheme lacked. Raw materials for otherwise inaccessible finished goods is a rather kind deal compared to what was on offer before.