Samsung warns prices of phones and laptops may rise due to memory shortages driven by AI demand and constrained supply.