And what you are saying is that Apple computers cost a lot more than their counterparts in the Wintel arena. Actually, wintel is a misnomer anymore but you get the idea.
Do the math — you sell fewer computers and make more money.
The gory details....
Only Apple sells Apple computers (a monopoly that they protect with a vengeance) however there are at least ten top computer makers that sell the PC. You know: competition and the free market? Funny thing about competition: it drives down the costs to the consumer AND affects profits. Margins are less when you have to be competitive. However, the consumer benefits.
That has always been the business model for the windows PC and the Apple Mac or whatever.
Are Apple computers and software overpriced? IMO, yes. Why, because they can dictate price because of their monopoly and add more profit to their bottom line.
What monopoly?
I'm an educated as an Economist, DHS, and Apple does not have a Monopoly on anything it sells, except Apple products. There is no monopoly that can force prices of Apple products upwards against the Economic Law of Supply and Demand against the will of the willing buyers, Apple's customers, which are the computer and mobile device buying public. There are alternative source computers and mobile devices in both markets at equal and lower price points that consumers can purchase, should they choose. The willing buyers of Apple products are thronging in millions to Apple Stores to buy at Apple's retail list price, without even asking for a discount or "sale" price, because the value is of the purchase is worth it to them.
Ergo, the Apple products are not "overpriced" and in fact may be underpriced because Apple has never bothered testing for price resistance, the price point beyond which the consumers find the product not of value to purchase. Other computer and mobile device makers know theirs resistance levels, because to keep selling, they are forced to deeply discount their products below their resistance Levels, and then some to move them out of inventory!