Aside: I really take umbrage with Bernie describing Denmark as a socialist success story, when their success seems to be linked directly to liberalization.
So either they are socialism and socialism works, or they're not socialism and socialism cannot be used as a reason to deny these to the US. You don't get to dismiss these as socialism and then claim Sweden is not socialist.
But this is the problem with labels like socialism and capitalism. They can be used with varying definitions to prop up bad arguments.
Socialism is a big tent with many different branches[0]. They share the goal that they want more economic equality and less inequality, but disagree on how to get there. Marx was a big proponent of State Socialism with the state owning everything, but he had a number of very vocal opponents like Bakunin, who claimed Marx's ideas would lead to tyranny.
Social democracy is a more moderate form of socialism that tries to mix socialism, democracy and capitalism. Libertarian socialism or anarchism considers the state to be the source of inequality, and wants to accomplish equality without a state or with a very different kind of state.
[0] mixed metaphor alert!
Sweden has vast private wealth, including a very large number of millionaires. Or just take a look at the list of their billionaires.
Sweden's economic boom coincided with large reductions in the size of the state, including both regulation and taxation policies, not increases. They have a 22% corporate income tax rate along with a favorable operating environment that encourages entrepreneurship, which entails ownership of private property.
If you look across Sweden's economic engine, it's overwhelmingly private in nature, not state owned and operated. Their growth mostly didn't come from state enterprises, it came from domestic business formation and expansion. Land and housing is commonly privately owned, as in most market economies. Sweden overtly violates almost every tenet of Socialism.
There are very few things about Sweden that are in fact Socialistic at all (healthcare is a big one, which is heavily socialized for most of the planet). At this point they may be more Capitalist than America is, their economy has fewer economic regulations per dollar of GDP for example.