I wondered about that with ATMs and bank tellers decades ago, too!
In fairness to the banks, it really was the case that for two decades, bank-teller jobs did increase in number: Because ATMs let banks run a branch with a smaller amount of labor, banks rolled out so many more branches that the total employment of bank tellers rose. There were fewer tellers per branch but lots more branches.
It wasn't until the last few years that automation finally reached the point where the total employment of tellers has gone down. It's probably a combo of ATMs plus online banking plus the overall migration plus automatic billing plus the banks' increasing desire to get rid of staff ....