My understanding is the cost is mostly the land and the building not so much. I think Sweden introduced a law limiting mortgages to ~100 years[1] because property prices were becoming unaffordable to many. So this may be more about "affordability" than longevity of buildings, but time will tell.
[1]https://www.thelocal.se/20160324/sweden-limits-mortgage-loan...