Is it simply that The Coca Cola Company and PepsiCo have better lobbying than Google/Amazon?
India's present economic strengths and growth opportunities are in its ability to carry out work in the English language and IT sector for a wealthier multinational market: it's not a good bet especially not in the short run to sacrifice those opportunities to try to get Indians to mainly use Indian manufactures. Which is also why you have Google India and Amazon India. China didn't really have that same level of opportunity even if they'd pursued complete economic openness that's entirely alien to their political culture. And most countries smaller than China have been highly selective about which industries and resources they protect and for good reason.