Many companies already do location based salaries for remote workers, meaning you will be paid less if you live in Bali than San Francisco. Essentially, the company is performing location arbitrage rather than the employee.
Next companies create more attractive work places in cheaper areas and lures employees there.