Want to keep a cow happy? AI, robotics could hold the answer