Banks are partnering with tech companies to win back some of the small-business customers that the industry lost to fintechs.