SAN FRANCISCO — Apple is still reaping huge profits from the iPhone while mining more moneymaking opportunities from the growing popularity of its smartwatch, digital services and wireless earbuds. That combination produced a banner holiday season for a company whose fortunes appeared to be sliding just a year ago amid...