US banks are embracing AI, the biggest technological upheaval to the world economy since the internet, to boost productivity and, in some cases, cut jobs.