Apple Inc said on Tuesday that Angela Ahrendts, the chief of its retail operations, was leaving the company to pursue new opportunities.