I feel like this question comes from a place of extreme privilege. It assumes that people somehow benefit from state violence, when the opposite is true for the vast majority of people. Imagine how wacky this question sounds to a poor black teenager in USA or a Palestinian or most people on the planet.
Here's a better question: How do people protect themselves from the government/state/police?
There is literally no protection. Maybe money and social privilege.