Apple marked its sixth consecutive quarter of accelerating revenue growth, saw the iPhone X boost the average selling price of iPhones to new heights, and further expanded its services and wearables businesses.