More farms are turning to automation amid labor shortages