New advances in image-recognition technology and robotics are reducing the need for manual labor — and potentially herbicides as well.