The survival of humanity

Why are robots a threat to the survival of humanity?