this isn't a universal phenomenon, funnily enough in China the brand appears to have the opposite effect[1]. It's more seen like a vanity purchase akin to I guess something like a Gucci bag.
"Apple iPhone users in China are generally less educated, hard-up and with few valuable assets, compared to users of other mobile phone brands such as Huawei Technologies or Xiaomi, according to a report by research agency MobData. The Shanghai-based firm also found that most iPhone users are unmarried females aged between 18 and 34, who graduated with just a high-school certificate and earn a monthly income of below 3,000 yuan (HK$3,800). They are perceived to be part of a group known as the “invisible poor” – those who do not look as poor as their financial circumstances."
[1] https://www.scmp.com/tech/article/2174310/research-highlight...
The iPhone SE is up there in power-vs-cost, and in terms of dollars per year of usage Apple probably has the best numbers.