Hitler admired the Soviet system and he copied some socialist policies from the Soviets, such as the nationalization of major corporations, which were mostly owned by German Jews. The supporters of the National Socialist and fascist parties were frequently former socialists as Hayek pointed out.
Anti-capitalism played a more important role in Hitler's world view than is generally assumed. Hitler was sceptical about nationalising all means of production because, as a Social Darwinist, he feared that this would override natural selection in the economic sphere. From the mid-1930s, however, he became increasingly convinced that a planned economy was far superior to a market economy and, with time, came to increasingly admire the Soviet system.
Everyone who has watched the growth of these movements in Italy or in Germany has been struck by the number of leading men, from Mussolini downward (and not excluding Laval and Quisling), who began as socialists and ended as Fascists or Nazis. And what is true of the leaders is even more true of the rank and file of the movement. The relative ease with which a young communist could be converted into a Nazi or vice versa was generally known in Germany, best of all to the propagandists of the two parties. (Hayek,
2007, pp. 80–1)
They competed for the support of the same type of mind and reserved for each other the hatred of the heretic. But their practice showed how closely they are related. To both, the real enemy, the man with whom they had nothing in common and whom they could not hope to convince, is the liberal of the old type. (Hayek, 2007, p. 81)