Investors, once focused on finding AI winners, are now rushing to avoid companies at risk of disruption