CNBC’s Jim Cramer on Wednesday told investors to be wary of market froth, especially volatile stocks related to quantum computing.