Oh I agree. The US is not doing the same thing as China at all.
China is spending its money developing manufacturing of goods the world wants. It has targeted markets and the govt is spending money in those markets. The markets they have chosen have huge economic and political value.
By contrast the US has chosen to spend its (govt) money on the military. Because, you know, national security.
The US is spending just as much money as China, but focused on different areas. Your complaint (if there is one) is that China chose different markets and didn't "play the game" (as the USSR did) and base their economy on flashy weapons.
Since the collapse of the USSR in 1990 its not clear to me why US spending on military continues to grow. It's not fear of attack; there is no threat to the US itself. It has to be a desire to project power and
influence.
And yet the very limitations of that goal have been exposed in 18 months. The dismantling of USAid (or more accurately the manner of the dismantling) has destroyed 75 years of goodwill. Coupled with punitive tarifs (which are paid for by US consumers) they make the US an unreliable trade partner.
Then the war in Iran showed the very real limitations of the military. To be fair they're currently being lead by incompetence, with no clear goals or strategies. But it reinforces the point that all that military money is wasted when even simple conflicts are lost. And it further drives home the limits of that power projection in unpopular conflicts. A lesson, it would seem, the US wishes to re-learn all the time.
China it seems has different ambitions, and a very different strategy. And I get why you might not like that, because maybe (just maybe) their strategy is the smarter one in the long run.