Hardware is hard, and Apple's scale lets them make things that are nice while still maintaining their margins.
A decade ago, but still relevant: https://beneinstein.com/no-you-cant-manufacture-that-like-ap...