Compared to 10 or 15 years ago, mac laptop adoption is increasing. It feels like most tech companies or software engineers are using macs.
Dell, HP and Lenovo all ship massive amounts more laptops, but make a fraction of the margin that apple does on their hardware. IIRC apple made more profit than all 3 combined. And each one of those has software arms of their companies that help their bottom line.