If a lot of investors are in passive funds, they end up buying a lot of whatever is biggest... which drives up the prices... which makes those stocks bigger parts of the stock market... repeat until ???.
Right now about 45% of the market is passively invested, and economists estimate you'd need 80%+ passive investments for active investors to reliably beat the market. We're not close to it yet.