Boston Dynamics and Ghost Robotics make four-legged canines that patrol fences and sniff out faulty equipment.