Police and sheriff's departments across the country are investing in new tools that employ the latest in robotics, artificial intelligence and machine learning to protect law enforcement and the public.