As AI models get larger, the need for nearline storage will drive memory demand, benefiting Sandisk and Seagate, Bernstein said.