The dollar is expected to extend its rally into 2027 despite fears of a slowdown in AI spending that could undermine the US currency, according to at least three banks.