That seems like a gross overgeneralization. Yes, there is brain drain but it doesn't mean that the engineers working in Indian startups like Flipkart are the ones who pursued engineering as a safety net. A lot of them are as smart as their Indian counterparts who are working in US in companies like Amazon, Google etc.
Are the downvotes because of the last line? I would love to prove this with a metric but can't just like the parent comment author. The opinion I stated is mostly from personal experience of knowing those people, working with them or having interviewed them.