> Also in Sweden for apartments, you don't own it. Most apartments for sale is so called "Bostadsrätter" which means you own a percentage of the association that owns the apartment building(s). If the association/organization has a bad economy and can't pay the debt they could be forced to sell the entire apartment building(s) and you'd loose your apartment while still having a loan to the bank.
In the US we call these co-ops and they are mostly an NYC phenomenon. Fun fact, some co-ops don't own the land they sit on, they rent it. And those rents get renegotiated every 30 years, potentially making a bunch of co-op owners suddenly unable to afford their monthly maintenance payments.