Hello political and history nerd here
Nazis only named themselves socialists to attract working class people as other socialists movements were popular. They banned trade and labor unions, and murdered socialists, communists, and social Democrats, Obama on the other hand is a neoliberal which is actually a mixed market economy (capitalism with some public sectors)