Apple makes its money by making hardware like Macs, iPhones, iPads, Apple Watch, AppleTV. It also makes money with services like Apple TV+, Apple Music, Apple News + and wearables like AirPods. It may be true that Apple hardware costs more than competitors’ hardware which makes Apple the most valuable company in the world. However, the move away from Intel to Apple Silicon will mean that Apple will have end to end control of software and hardware going forward and will not have to rely on other companies other than for some parts.
It does NOT make money by using your private data in the way that Google does. Everything Apple does protects the user because Apple does not keep your private information such as finger prints, face recognition, emails, messages etc as everything is encrypted on your devices and not sent to Apple.
This is why iOS and and iPadOS are safer than Android.
This is likely one of the reasons too that Apple is so successful. Privacy is part of their DNA.