Its products, from iPhones to iPads to MacBooks, have captured consumers’ imaginations, remade markets, and earned the company and its shareholders huge sums of money. Apple’s stock capitalization has soared, and it became the first trillion-dollar company.