China doesn't have a classical communist type of centrally planned system and it has a very large private sector. Isn't that very much like capitalism?
USA's greatest rivals actually kept USA in check from ever expanding and it's funny how you phrased that in terms of socialism. You have no idea what socialism is and mix it freely with whatever sounds good to your point.
And don't forget, it's our western capitalistic system which gave China everything on a tray in the pursuit of profit with no regards to long term goals.
It is our western capitalism who shipped tens of millions of jobs to China with no regard to national security.
America was very much not involved in this, and had mixed feelings, but after WWII it was an easy prejudice to glom onto in order to antagonize the nation that was the only significant threat left to its newborn hegemony. Helping countries around the world murder all of their communists (and anybody who was sympathetic to any form of sharing) was the best way to guarantee that the "self-determination" of those cleansed nations would bring them within US orbit.
This couldn't work in most of Europe for obvious reasons, so the US allowed them to have (or even imposed) extensive social democratic policies to "prove" that European capitalism would have the safety net of socialism without the privation (or the Stalin) of communism, and its intelligence services put almost every public intellectual, writer and modern (the less figurative the better) artist on the payroll either directly or indirectly in order to pump out some sort of liberatory anti-communism to contrast with the Socialist Realism and recapitulation of Hitler's "Degenerate Art" thing that Stalin was imposing over the USSR.
Internally, however, the US had no interest in allowing any more social democratic policies (other than what FDR had done after the Russian Revolution had proved a success.) Labor strength would slow the growth of US companies. Instead, a rise of transfer payments to the professional and management classes in the form of subsidized homeownership and education would create a barrier between the working and middle classes that would protect the ownership classes from any sort of restraint. Another factor was encouraging (or forcing) stock investment among the middle class, in order to tie their interests to the interests of the very, very wealthy. The trick to control the middle class was (and is) to overpay them, then overtax them. They would live in the lap of luxury, but be constantly insecure. The luxury they would ascribe to the success of the company they worked for, and the companies they invested in; the insecurity they would ascribe to taxes, which would be completely ascribed to transfer payments to the poor. A large proportion of those taxes would also be refunded in the form of middle class subsidy, though, while another huge and increasing portion would go to the military, in the name of preventing a socialism that would take away their suburban luxury through increasing transfer payments.
> If socialism "doesn't work" why fear it?
The US as an institution has never been interested in what does or doesn't work for people in general, just in preserving and expanding the interests of the people who make its decisions (just like every other institution.)
edit: Yes, it really is amazing what you can read on the internet https://en.wikipedia.org/wiki/Allied_intervention_in_the_Rus...
There is a lot of interesting religious aspects that come to play (especially in Protestantism)