CNBC's Jim Cramer said investors are rotating out of memory-chip winners and into companies with growth outside the data center buildout.