The rapid growth of AI is driving a memory shortage in the consumer electronics market, mainly smartphones.