Sadly everything in the general direction of RAM or SSD chips is getting more expensive because a lot of production capacity is redistributed to serve AI chips and everything around.
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.