If you compared how many people buy a $1000 iPhone vs. a $1000 high-end Android phone, you would see completely different numbers.
My anecdotal observation is that when people aren’t price-conscious (either because someone else is paying for their device, or because they have a lot of disposable income themselves), they prefer Apple >95% of the time.