In theory this is all true, but you really have to look at the facts on the ground and the specific situation. Tons of folks have agreed with what you're saying, and poured in investment, and the situation remains really challenging. It's not for a lack of effort — India has a huge potential labor force, it's well-situated for shipping to emerging markets (like China, parts of Africa, or India itself). And, as was pointed out above, it has a strong democratic tradition that makes it appealing to Western investment.
But that same democratic tradition makes it a very different situation from China. It can take literal decades to organize and satisfy all the constituencies involved for projects like a power station, factory complex, or highway construction. Labor constituencies are strong and organized enough to seriously push back against projects, and are often skeptical of foreign investment and "interference". Political parties even resort to violence to stop initiatives that they disagree with.
I'm not saying that it's going to be like this forever. As a US national of Indian origin, I would be happy if the the situation was different so that I could work with manufacturing partners in India. Having some cultural and legal ties to the country would give me an advantage that I don't have when working with partners in Shenzhen or Shanghai.
But it's really just not the case right now. By all means, I'm happy that this investment is happening, but I think we need to be realistic. For a manufacturing ecosystem to develop that looks anything like China does, it's going to be more on the scale of 50 years or more, not 5-10.