Tech is not the only investable part of the market, CNBC's Jim Cramer stressed Wednesday.