Switzerland only recently became non-aggressive though. It's only a late development, and by that time, they couldn't really still be called a "militaristic state". Yes, they had a military heritage but their society and politics were no longer built around militarism.
And you should probably know that saying they remained netural during both world wars is highly controversial among historians. The swiss army was a lot less important than the economical and political reasons. In 1943 the country was even considered as a german puppet state by the UK, both because the Reichbank used Switzerland to store money and because Switzerland sold most of its weapons and ammunitions to the Nazis after 1941. In 1940 the fascist movements in Switzerland grew in strength, numbers and political relevance. They banned the communist party, extend death penalty among other misdeeds. Essentially, Switzerland unofficially allied with nazi Germany, and there was simply no enemy country at their borders once the nazis invaded France - and anyway, it was useless to invade Switzerland. Since their alliance was unformal and unofficial, they weren't bothered after the end of WW2 but Swtizerland responsabilities during and adter the war are still a controversial matter today - especially concerning the works of art stolen by the nazis and stored in Switzerland. Just check the "Bergier commission" which recognizes among other things the responsability of Switzerland in the jewish holocaust, and details the extent of the Swiss cooperation with nazi Germany. And that's how Swtizerland remained "neutral".
The video that is linked here looks uninformed at best, like propaganda at worst - saying that Switzerland was "incredibly prepared", shows a map with places that could be blowed up, and then quickly switch to the modern Swiss military and how Swiss people are "incredibly competent" at using weapons. Of course the country was ready to defend itself in case of invasion. But it doesn't mean that the result would have been different from the nazi invasion of Belgium. At the beginning of the WW2, the swiss army was unprepared and underequipped. Then, in the same time as they armed the Axis military, they built defenses (the "hedgehog tactics") with a lot of artillery. The whole thing was done in 1-2 years. If any neighbour had attacked them in 1940 they would have not found any resistance. And btw, their "incredible preparation" didn't help much against the unlucky bombings...
And btw, in nowadays Switzerland, only far-right movements claim that Switzerland is a highly militarized defensive country. Everyone else is perfectly aware that "neutrality" can mean many things, including "we have the money". They aren't completely unarmed, but they are no match if their neighbours would try to attack it for whatever reason. Their military isn't the reason why they succeed(ed) at remaing "neutral".
Switzerland is much more a materialist, opportunist country than a defensive militarist one. If I had to pick Stellaris ethics for that country during the WW2 it would be fanatic materialist egalitarian. Remember that being neutral doesn't mean being pacifist - but also that not being pacifist doesn't mean being militarist. Yes, Switzerland has an army - doesn't make it a militarist country.