The artificial intelligence boom has sent Wall Street bankers, private equity giants, and debt financiers into a frenzy as they scramble to get a piece of the $1 trillion—and possibly $2 trillion—needed to power AI’s takeover of the world.