America’s heavy-hitting “Magnificent 7” stocks have driven years of market gains. That may not continue to be the case.