You vastly underestimate most people's desire to stay in the same place. Most Americans don't relocate after they have children. Imagine yourself being retired, and learning that you have to move away from your friends and family due to a change in market conditions.
Even places that are economically barren see people just go onto Social Security disability (perhaps a form of UBI) instead of moving to regions with jobs.