With AI winners and losers changing places so quickly, it isn’t just about where to invest, but also when.