What are you waiting for? Just destroy the AI, it's obviously violating the code, and it's a machine, it has no rights. Just destroy it, and arrest it's master for attempted murder. Two birds with one stone, stop being so passive.
Or, better yet, lure it to attack it's own master and have it kill the master. That'd be great. Also would solve all the troubles that that idiot of a sexual harasser will definitely bring if left alive.