More than one-quarter of the company’s revenue last quarter came from China, which is becoming an increasingly vital part of Apple’s business.