Perhaps I don't understand something so clarification would be helpful:
I was under the impression that Apple's RAM was on-die, and so baked in during chip manufacturing and not a 'stand alone' SKU that is grafted onto the die. So Apple does not go out to purchase third-party product, but rather self-makes it (via ASML) when the rest of the chip is made (CPU, GPU, I/O controller, etc).
Is this not the case?
https://upload.wikimedia.org/wikipedia/commons/d/df/Mac_Mini...
That whole square is the M1 package, Apple's custom die is under the heatspreader on the left, and the two blocks on the right are LPDDR packages stacked on top of the main package.
https://wccftech.com/apple-m2-ultra-soc-delidded-package-siz...
Scaled up, the M2 Ultra is the same deal just with two compute dies and 8 separate memory packages.
Even lower end GPUs are getting more expensive even if they are not really useful for AI. But they still contain <some> chips and ram which is in high demand.
So yes, Apple will likely also have to pay higher priceses when they renew their contracts.
They don't care. They'll pass the cost on to the consumers and not give it a second thought.
It’s been pointed out by others that price is part of Apple's marketing strategy. You can see that in the trash can Mac Pro, which logically should have gotten cheaper over the ridiculous six years it was on sale with near-unchanged specs. But the marketing message was, "we're selling a $3000 computer."
Those fat margins leave them with a nice buffer. Competing products will get more expensive; Apple's will sit still and look even better by comparison.
We are fortunate that Apple picked last year to make 16gb the new floor, though! And I don't think we're going to see base SSDs get any more generous for a very, very long time.
* okay I do remember that Macbook Airs could be had for $999 for a few years, that disappeared for a while, then came back