The Eurozone crisis also completely destroyed Western Europe's competitiveness (like the Asian Financial Crisis and Black Thursday did for Japan).
American companies make JVs abroad as well, but will also help transfer promising employees to the US, give them a competitive salary, and sponsor their visa process.
If you're smart enough to become a MechE for Dassault in India, you're also smart enough to become a MechE for Ford R&D in the US or India. Going from earning €25k in India to €45-50k in France or Germany isn't worth it, compared to moving to America and earning €90-110k.
Germany's automotive industry is a great example of this. In the 1990s-2000s, they began a MASSIVE expansion into China. Chinese consumers ditched their bicycles and motorbikes for the VW Jetta. But while VW continued to concentrate on ICE vehicles, Chinese challenger brands in the 2000s began researching EV technology as they were already the goto suppliers for batteries. Fast forward to today, and now German companies are dependent on Chinese EV R&D in order to build European EV platforms.