Security robots are starting to replace human guards in workplaces and beyond, Jennifer A. Kingson reports.