When Apple first came to the market, their core product offering was hardware. That's where the money was, because nobody was mass producing an affordable home PC. IBM was still run by clones in blue suits and white shirts. Apple wanted to not only be profitable, but to offer a focused, quality product to their customer, packaged in a stylistic and compact box.
A few years later, IBM decided they would grant licenses for their hardware so that everyone and their dog could start making compatibles, while they shifted their attention to applications. That's where the money was. The only problem was that IBM was just a few months too late, and a college drop-out with a titan of a business acumen had already positioned himself on top of the mountain.