A global memory-chip shortage is disrupting tech production as AI data-center demand skyrockets, raising costs, delaying devices, and reshaping the semiconductor industry.