Apple (AAPL), the consumer-technology giant, faces a tightening memory crunch as artificial-intelligence data centers swallow an expanding share of global chip