https://www.bloomberg.com/news/articles/2021-02-16/swiss-wea...
https://www.bloomberg.com/news/articles/2021-02-16/swiss-wea...
Liquidating assets to cover that tax works out to a lower overall tax burden on the individual than capital gains tax. Most nations that are mulling wealth taxes are considering them as an added tax layer, as opposed to the Swiss who use it as an indirect means to tax investments, rather than asking for a per-transaction gain payment. Nations that have done the approach that's opposite to Switzerland tend to reverse their wealth taxes, or see little benefit (France, for instance).
It probably wouldn't work that way in the US, since it has an exit tax and it also taxes income globally regardless of where you currently reside (and I'd imagine any wealth tax would work similarly).