I fear the same is happening with the MacBook line up when compared against the profits from iOS devices.
Honestly asking, not trying to throw punches; what are they ahead with? From everything I've seen/read/heard it's all software, and the hardware itself has stagnated or is behind by a few months/years of other vendors.
Their hardware/software integration results in browser performance (safari) that is years ahead of chrome/android on ARM hardware.
The benchmarks are out there.
Again, the hardware/software integration allows them to reach performance metrics faster than the others. This goes for their image processors and also their general CPUs for browsing.
In fact, their iPads are now faster than some of their Intel laptops.
Cameras? Google is on par if not better with the Pixel. Screens? Samsung.
The only area where I could conceivably say Apple is destroying the competition is the A11 chip.
As an overall package though, I'd say the other major players (Samsung, Google) are on par with Apple for phones.
Not sure "the public" is very aware of any of the stuff going on (or more accurately, not going on) with Macs at Apple.
I don't think the general public reads or hears any Apple news outside of what the main stream media reports. Most of the complaints about the touchbar, keyboard, etc. don't trickle up to the MSM. The MSM is more interested in reporting about iPhone news than Macs.
But you're right, most of what us nerds argue about, the public just isn't aware.
I'm not convinced of that. I bought an iPhone for the first time a few months ago and returned it after a few days because iOS felt like a backwards step. I've no fanbois allegiance one way or the other, but Android felt a lot more polished, usable and intuitive. Even the hardware was a backwards step for me (albeit at a more advanced price).
They really need to make this a priority. I fear that the success of the iPhone is blinding them to the importance of the mac. And you can tell because they're kicking ass when it comes to iOS devices. They're so far ahead in certain areas, it's not even funny.
This is reminding me of the Steve Ballmer years at MS. The financials looked GREAT, even though the company completely stagnated when it came to technology (with some exceptions like the Developer Division).
Similarly, the Mac division's strong imbalance now of choosing form over function (the designers have taken over the asylum, removing ports, making keyboards thinner that nobody asked for), is going to continue hurting them until they change course drastically.
Hopefully we see it soon. Meanwhile, I am clinging on to my MacBook Pro from 2015, still the best MacBook Pro I've owned.