The two memory giants are betting on high-value memory tech.