The Mahindra Group's software arm turned a British Telecom side project and a rescued fraud case into a 148,000-person, 90-country IT services house - now betting the next chapter on agentic AI.