
You’re just describing the IMF’s model and pretending China is doing it. When countries were unable to pay back the loans, China has refinanced or forgiven them.
Having good relations and a country that isn’t dependent on the west benefits China a lot more than slightly reduced costs to transport goods to a country, that every other country also reaps when a port or railroad is built.
Is Canada planning to go to war with China if they annex Taiwan?