A California woman has protested mass deportations by tearing down a US flag and hanging a Mexican one before threatening to kill a police officer's family as she was being placed in handcuffs.