One of American banks’ fastest-growing businesses is lending to the very companies trying to grab their market share.