India, China lag in AI race as top firms lose market cap share