Their goal is to make money.
Making money is a happy side effect of Apple's efforts to produce quality products that make people's lives easier.
Quite a few people think that not caring about the money is actually the secret of Apple's success. It seems the harder a company tries to make money, the worse their products become and a bit later the profits drop.
By the way, HP's fixation on making money was one of the reasons why Cook moved to Apple.