This is happening already. Have you seen how many people Big Tech is hiring in India while laying off folks in the Western world?
Working from the office is not a solution to cheaper software talent in the developing world. In fact, I expect what happened to blue collar workers in the West is now coming for Tech employees.