Big banks are pouring money into the AI buildout, even as one of their own strategists sees history repeating.