Over the last 18 years I have regularly had the opportunity to work with engineers located in India (while I was based in the UK and the US). Some projects were huge, some were small -- ranging from 2-3 engineers to hundreds. The vast majority of individuals I worked with were excellent at their job, and a delight to work with. Same as the ones I've worked with who have emigrated to Europe or America.
Emigration is not proof of an individual's superior powers, nor is non-emigration evidence of lack thereof.
Also, my experience having worked and interviewed candidates in India for over 8yrs doesn't seem to disagree with that sentiment at all.
[0] https://www.zdnet.com/article/7-chinese-companies-that-will-...
[1] https://news.ycombinator.com/item?id=6429793
[2] https://economictimes.indiatimes.com/tech/software/google-to...
[3] https://yourstory.com/2015/05/twitter-war-sachin-rohit-bansa...
[1] and [3] Highly debatable and depends on which company you are hiring for. Good candidates are going to apply in companies they consider to be good. Snapdeal wasn't known for its good engineering, work culture or hiring bar. I don't know which startup the YC commenter interviewed for.
[2] might just be because of lack of active CS research going on in the country. Most people interested in research leave the country for better pastures. Btw MSR does have office in India