Every process can be completed through a series conditional tests. The easiest functions to replicate are those that use the least amount of tools and actions to complete the process. White collar/office/desk jobs are by far the easiest to replace with AI. The "farmer" applying for a government loan has to meet a set of conditions that can be easily tested without a human making any decisions.
It was more difficult to write my lockpicking script than it would be to write a program that tests a loan application, by far.