On one hand, China and nationalism are used as a tool by the Indian government (not least while the Covid-19 situation goes pear-shaped), on the other hand they are at least as dependent on US companies, if not more.
I think India should rather reflect on China's industrial strategy, including investments in infrastructure and fostering the development of national giants when India is lacking on both fronts.