Should have rigged it up with a huge Tesla coil. Beat it and it fries everything within 12 feet.
The robot in ‘Lost in Space’ was quite able to defend itself. The NYPD should have built a robot just like that one.