The episode has drawn sharp criticism and has cast an uncomfortable spotlight on India’s artificial intelligence ambitions.