Historically states have not though. The Soviets invested Millions into massive infrastructure projects in Siberia with little upside. A private comaony could never do that they would have gone out of buissnes. Meanwhile Soviet computing stagnated as nobody was able to start a buissnes and commercialize it.
Well their investments were initially successful. They moved farmers from the factory into higher productivity factories (designed in many cases by American engineers). But once they initially industrialized they failed to develop emerging industries effectively. Combine that with political corruption and the drain of the Afghan intervention. The whole system collapsed.
The Soviets controlled Eastern Europe. The Chinese were communists. Africa and South America had mixed allegiances but many were usefully. Primarily the Soviets where not able to trade with the west but trade with the west is usually slanders as “unequal exchange” anyways