Switzerland may offer among the highest quality of life in the world, but a fifth of people here would struggle to pay for an unexpected expense, with foreigners particularly affected, according to new figures.