Well it depends. Once in a while Apple makes very good products for its price (like the latest Macbook Air, the iphone 3GS back then, and a few Macbooks in early the 2010's compared to the competition) and yes for the rest it's all about beign a luxury brand, absolutely.
$300 for an iPad is too much, where no other device can come close in functionality or price? Same with $400 for an iPhone SE? You're being obtuse, read into the context of this conversation.
There once was a poor minority boy who had bad parents through no fault of their own. They wanted to become a programmer, they got a $100 Android and started working on an app. Upon finishing they publish their app for a one time 25$ fee.
But that only reached half the market.
So next the boy bought a $1000 mac, a $400 iphone, and a $125/yr app store subscription. Lol
The coloration of the iPhones are an impressive example of product differentiation. The lower end phones are distinguishable with a case on from the front and back by the colored bezel on the front, and by the camera arrangement on the back.
This has been Apple's marketing since the 2000s.
The product quality is secondary to the price. Even the users don't want everyone to afford it. They want to be seen as unique.