One of the best phones I ever had was a $500 Sony Xperia (amazing battery life). The other best phone was a Nokia 920 (?) Windows phone (zero cognitive load). Tech superiority and user experience are not market defining factors, clearly.
I think both Samsung and Apple are trainwrecks compared to their earlier offerings. This because of a lack of competition now.