Sharan Hegde said the layoffs are part of the company’s first major cost-cutting initiative, with a focus on implementing AI-driven cost saving.