Apple is reportedly racing to secure DRAM for the iPhone 18 Pro and foldable iPhone as a memory shortage threatens to tighten launch supply.