Rising demand for AI infrastructure is driving up memory costs worldwide, and smartphone makers like Oppo and OnePlus are starting to pass those increases on to buyers.