Apple's business is to make profit, same as anyone else. Revenue - Costs = Profit, still holds true.
(In a corporate structure, which company do you think is legally obligated to maximise profit? The one at the top of the pyramid, or every individual registered company?)