SAN FRANCISCO (Reuters) - Apple Inc said on Monday its iPhone software chief and its head of retail would leave, a major executive shake-up that follows embarrassing problems with the company's new mapping software and disappointing quarterly results.