PC makers including HP, Dell Technologies and China’s Lenovo Group are navigating a shortage of memory chips