Build and sell a fraction of the phones of your next competitor, but make many times the profit. That's the kind of business I'd like to own.
Fraction overall: yes, if you count all Samsung models. Probably not true on the two S8 models listed. At least not on both the "build" and "sell" sides of your sentence -- that is, Samsung may build more S8's than some iPhone models, but they certainly don't sell more of the S8 models than Apple sells of any of its iPhones, including the SE.
Apple is building a huge number of its half dozen models. Samsung would build dozens and dozens of models, but seems that hardly any are profitable at all.
Extortionate pricing + a market starved for a redesign = profit. Duh. Like what happened with the usb-c handicapped MBP and its trash emojibar.
I don't blame Apple as much as the consumer. So much for voting with our wallets.
Apple is selling out of its phones month in, month out. And continue to make each model for a couple of years. Somehow that is supposed to make Apple phones over priced? Apple might make an iPhone (such as 4S) for longer: that
increases the margin over time -- simply because all the fixed costs are paid for early on.
That doesn't say something about the consumer -- it says something about the competing phones, that millions of people found value in an iPhone like the 4S for a long time despite newer models from OEMs. Who wants last year's Samsung, when hardly anyone wants this year's S8!
Apple's strategy is therefore to build a solid phone, take care of the fixed costs as soon as possible, but stand behind that phone and support it for 2 - 4 years. That builds confidence in Apple's products. Then people repeat their purchase, even if 4 years between purchases. It's a win-win, a virtuous circle.
Margin is therefore partly a function of getting a product right!
Contrast that with others who throw the latest gimmick at the wall in umpteen models every six months, none of which make any money, so the OEMs can't afford to support a phone, give it software updates, etc. The owner is stuck with it, or soon replaces it; and no-one wants it handed down to them. it's a commodity, not a tool.
When you purchase a tool, you purchase the best you can to do the jobs you care about and do every day. You purchase one that the manufacturer cares about; not one that the OEM throws out there because they spun the feature slot machine to figure out what to do next.