The "Mag 7" and tech stocks have led the market to record gains, but concerns are rising that conditions look similar to the period before the dotcom bubble burst. Investors can learn from the ...