Investors have become overexposed to Nvidia and the rest of the ‘Mag 7’ — what lessons can they learn from this week’s stock rout?