Are you sure this is actually the goal?
Aid to developing countries from the west does not have a very good track record either.
Obviously if China can build the economies of those countries, it would benefit China in the long run, while controlling an economy that runs at a deficit is not that attractive.
You may be right, but I’m just not sure it really makes as much sense as many people seem to believe.