Once the world’s outsourced back office, India is now eyeing a future among the superpowers of artificial intelligence.