Apple, beset by falling iPhone sales, announced upcoming changes to its phone and computer software intended to highlight its increasing emphasis on digital services and to further position it as a fierce guardian of personal privacy. The revisions previewed Monday…