The multibillion-dollar deal centers on AI-powered expense management and automation tools used by thousands of companies. Capital One is buying Brex in a $5.15 billion stock-and-cash deal that underscores how traditional banks are turning to fintech startups to modernize the way businesses manage money.