Also, plenty of Indian Nationals working at these firms who are stuck in the immigration purgatory have started returning to India to work at the same employer's office there (albeit with a TC adjustment that is still competitive). Heck, even Big Tech and target startup salaries in India have begun reaching the $30-50k range (take a look at YC startups hiring in India for example).
At this point, a lot of fresh Indian H1-B talent coming to the US are those who were stuck working at shitty outsourcing companies (talent which Indian companies won't touch), saved up money to do a random STEM masters to get the F-1, get a couple years of American work experience plus save dollars, and then return to India.
Same thing happened with the Electronics industry in the 1990s-early 2000s with Taiwanese nationals leaving Silicon Valley to return to Taiwan or moving to HK/mainland China (live in HK, commute to Shenzhen/Dongguan/Guangzhou), Korean nationals returning to work for Korean companies in the 2000s-early 2010s, and Chinese nationals in the 2010s-Present returning to Mainland China.