The memory chipmaker's latest quarterly results were spectacular, but its heavy investments in future capacity add a layer of risk for investors.