The company cites advancements in AI for the cuts.