Considering the raw specs of components some things that Apple makes are indeed not very appropriately priced. However, when you consider the combination of those components integrated into a single unit with excellent industrial design that follows Dieter Rams' ten principles of "good design" it's not even expensive at all. And that for me was and always has been Apple's selling point.
Also there is no real price to design.
I know a small Italian design company, they make a dining table with a stunning design.
They make it for 1800 euros in their factory, it sells for 14000 euros.
Is it going to be better at it's main task then let say an similarly sized dinning table from Ikea that would run a mere 150 euros?
Probably not, but despite the immense price difference people are still willing to pay for that table just for the "looks" and when people are willing to pay that price, the price is justified.
But there is more to Apple then just design, the OS and the ecosystem for example. If you combine different Apple products they will all work together wonderfully, something I have yet to experience in with different companies.