Riding the artificial intelligence zeitgeist, Nvidia, Meta Platforms, Alphabet, Amazon.com and the other Magnificent Seven stocks drove impressive gains across 2023 and 2024. But how should investors ...