But, people are not buying it, companies are. Most known offenders are Akelius and Deutsche Wohnen, who just buy those apartments for cheap, wait until the renters leave (or make them leave), then renovate the apartment and rent for 4 times the price. The rich is getting richer, while people are being screwed.
Which is why the ruling alliance is trying to expropriante all entities with more than 3000 units. That's a nuclear options but it certainly fixes the issue.