CEO Kruti Patel Goyal said neither cost cuts nor artificial intelligence drove the downsizing, but also said that “AI is changing how all of us work.”