Strong demand for the iPhone 17 lineup helped the company overtake domestic rivals, even as rising component costs and weaker ...