Intelligent robots in workplaces