Cops can't do what ever they want with impunity. The notion they can is false. They are routinely disciplined in a variety of ways for abusing or misusing their authority. During my 14 years in law enforcement I saw many fired for various misdeeds. Some were convicted of crimes and sent to jail or prison. They certainly didn't immunity from being held accountable.
America is in no way a "Police State".