You can "just stop renting" and move somewhere else.
Housing demand is less elastic than, let's say, potato demand, but it's not "absolutely inelastic" as you have said.
Good transit and road infrastructure also both make demand more elastic because the choice of where you can live without changing jobs expands.