The things you mentioned aren't what make Switzerland a rich society.
In my experience living here, it is the strong social security net (70% of your previous wage if unemployed), high minimum wage (up to 25$/hr in some areas), and general workers rights/protections.
None of those are unique to Switzerland but it’s a lot richer than any of its neighbors. The policies you describe don’t cause wealth. They’re things you can afford once you’re wealthy. If Kerala adopted those policies they’d either be widely flouted outside the formal sector (at best) or destroy the economy.
"some areas" is doing a lot of heavy lifting in this sentence of yours. First of all, there is no Federal minimum wage, it is Cantonal. Second of all, the minimum wage of 20CHF only exists in 2 Cantons: Jura and Neuchatel. Third of all, once you PPP adjust that number, it's equivalent to about $10 USD/hour.