Billionaire Ray Dalio urged investors to be cautious about current tech valuations, drawing parallels to the dot-com bubble.