San Francisco lawmakers voted to ban police robots from using deadly force on Tuesday, reversing course one week after officials had approved the practice and sparked national outrage.