They're not buying a box of transistors, a quantity of RAM, a camera etc. The hardware is just a box used to deliver a shipment of easy to use, cool enhancement. That's what people are buying. Not hardware.
Apple could never charge what they do if people were just buying hardware. You buy comparable hardware for a fraction of the cost but it doesn't have the other emotional/social stuff and that's where Apple makes their money.