The memory-chip giant is reversing its recent slide after increasing its investment in the U.S. semiconductor supply chain.