You do not recall correctly.
Services are ca. 18% of Apple’s revenue, after years of huge spending and tons of dedicated effort to grow this segment. The fact that it is as high as a fifth is itself a monumental feat.
Hardware sales of the iPhone alone, excluding all computers, AirPods, and iPads, is over 40%.
I suspect the profit split is biased more towards services than the revenue split.
Also, Apples main revenue isn’t hardware but services IIRC. They’re not a hardware company.