That is the US's rational for doing the same thing, yes.
It doesn't end well. It results in stuff like the Iranian revolution. Installing and/or supporting "friendly leaders" who then push deals that are against the local national interest results in a great deal of hostility in the long run.
The reason the US is hated isn't that the US is evil. It is the fact the US meddled in the affairs of others more than they should have and then leveraged concessions beyond what the native population wanted. China is repeating that mistake.
> Again, the US has done similar things in the past, hence the numerous US air force bases scattered around the world. It's simply practical to gain soft power, and then convert that soft power into harder power.
Practical? Yes. If you are expecting to go to war.
If no war materializes, you've destroyed any chance of popular support in that country indefinitely. China is burning bridges with the native populations in these countries that won't go away in 5 years.