Coupled with racist immigration laws in USA this is helping smaller companies like mine to attract far superior talent. I was engineer number 1 in a Machine Learning division of an American company. I negotiated with my employer that I will move the whole division to India, hire in India at American salaries and deliver results.
Since then our ML division is running pretty smoothly and I am able to poach the brightest kids on the block.
The imminent collapse of India's outsourcing industry will be good for India's homegrown tech sector as brighter kids will move to work on tougher and more India specific problems.
With falling birth rates in developed countries and racially charged environment I think the future of tech will be determined by China and partly India and not in silicon valley.