Why do you assume this would be the case? Why would companies increase pay?
> And if productivity increases that means it's worth to hire more people.
No, it means the opposite. Companies can reduce payroll expenses without incurring a decrease in productivity.
it's not clear to me that your bank branch example shows that automation increased employment. It seems more likely that as populations have grown, there was a corresponding increase in demand for bank branches.
But that's just speculation either way. Do we have a good way of determining causality here?