I was under the impression that Apple makes most of its money from margins on hardware sales, with services a growing percentage (Apple TV, App Store).
The "advertising and marketing" that is involved with Apple is them spending money on it so people know about what they sell, and not so much Apple taking in advertising and marketing money (which Google and Meta do).
Apple does not live or die off advertisements like some others, but they are definitely a victim of this downward trend. As their margins on hardware shrink, their relationship with China comes under threat, and their monopoly on The App Store becomes less certain, it will be interesting to see how well they resist this pattern.
https://www.bloomberg.com/news/newsletters/2022-08-14/apple-...
https://www.forbes.com/sites/johnkoetsier/2021/10/19/apples-...
Which today is primarily Google, Amazon, Meta, and yes, even Apple