Apple is the most prestigious company to work for on planet earth and they attract the best hardware designers because design and UX is the core of Apple but that comes at a cost: subpar software engineering. Apple as an org isn't structured to deliver top tier, efficient software like Google, Microsoft and Meta and I don't they'll ever will. Just look at iCloud, Apple Music or any of their services. They are all built on inefficient and outdated tech.