Let's set everything else aside for a moment and focus solely on the construction of socialism via the "Stalinist path." We will take into account all the errors, miscalculations, and successes involved.
How did Stalin attract investment? Stalin sold priceless paintings from the state-owned Hermitage Museum, thereby effectively bribing American officials and tycoons. Capitalizing on the Weimar Republic's diplomatic isolation, he established trade relations with them. Raw materials were shipped to the Weimar Republic, while technology, equipment, machinery, and machine tools flowed back in return. At that time, Germany was a technologically advanced nation. However, problems arose in the 1930s; Hitler rose to power, and relations between the USSR and Germany were severed. Simultaneously, an unprecedented economic crisis struck. Trade relations with Europe and the USA were all but reduced to zero. As always, the peasants ended up bearing the brunt of the consequences. The 1930s were an incredibly difficult period for the peasantry. There were also miscalculations regarding collectivization—specifically, those that followed the failure of the communes. In case you weren't aware, prior to collectivization, there had been communes established in the villages. That particular approach failed miserably, sparking intense resentment among the peasants. Yet Mao—for some inexplicable reason—chose to emphasize communes rather than kolkhozes (collective farms) during his "Great Leap Forward," completely disregarding Stalin's prior experience.
And do not forget that, running parallel to the processes of collectivization and industrialization, a "Cultural Revolution" was taking place within the USSR. And believe me, Comrade: had Mao orchestrated something similar, China would not have suffered from such a dire shortage of agricultural specialists.
After Mao botched the industrialization, collectivization, and "Cultural Revolution"—and subsequently fell out with the USSR—China was forced to go to the West with cap in hand, begging for aid. Had it not been for American assistance back then, China would have simply collapsed!