This happened in some European cities, and now, a mortage or a rent are equally expensive even to high wage people, like engineers and surgeons.
I will only consider buying a property in a major urban city only if I had to live there basically for ever. Otherwise I will keep renting. Prices in major EU cities, like the rest of the world are insane compared to the level of income, even for wealthy engineers.