Robotics and automation: threats and opportunities