Apple braces for supply constraints as memory costs surge 100-year flood