If someone nuked the USA and burn down the entire USA army and economy, the dollar wouldn't have much value.
The USA army protects the states. Switzerland, as per parent's post, has defense agreements with other countries. The likelihood of Switzerland being attacked or destroyed is also very low. What would the international community think of a country attacking Switzerland?
If I started my own country in the middle of the ocean and started issuing my own currency it would be worthless. Maybe if I do some trade deals and a defense agreement with some other country it would start having some value.
The difference with BTC is that there is no-one defending BTC with weapons. It can all be banned tomorrow if global governments think it would be good to do so. Similarly, I can spin my own fork of BTC and achieve similar technology advance as BTC.