If that rumor's true then Apple has a memory fab hidden somewhere that's going to be revealed soon.
They have like 40%+ margin on hardware, even when raw mem chips quadruple in price I doubt they lose more than a few single digit percent of margin and I wouldn't be surprised if they decided to take the hit to keep their pricing the same as they always are.
Keep in mind that before the whole memory price hike crisis they were already charging ~3x what the competition charged for ssd/ram upgrades
Apple is likely a large enough consumer to fully utilize a fab.