That thesis is at least to some extent self-fulfilling, because there's so much money flowing into index funds that prices of all the underlying assets keep moving up, and there's probably not enough money trying to bid against that / arbitrage the excesses away.
A similar thing could happen with AI. Markets are efficient only if the world isn't in some sort of a trance.