Bank of America CEO Brian Moynihan said that the adoption of technology at the second-biggest U.S. lender has allowed him to cut 100,000 workers in less than a decade.