I'm not sure where I read this, but I have a memory of reading a story/short story/novel about someone taking a self-driving taxi, which can recognize who you are. If there's a warrant out for your arrest, it will lock you in the car and take you to the nearest police station. The protagonist in the car doesn't want to be taken to the police station, so tries to hack the car. They ultimately get drones to fly in front of the car. Thinking the drones are people, the car tries to avoid them, causing the car to drive off the bridge it's driving over, freeing the rider.
I will yield this if Adam James comes back and writes up a more extensive answer. Margaret Killjoy's "One Star" is a match.
After two turns, the Taxy already looked like it it was heading the wrong direction.
"This isn't the way I usually take," I said. "You redirecting to avoid traffic or something?"
"I regret to inform you that your destination has been marked as a location of potential interest to the police."
I went for the safety harness release. It wouldn't let go.
"The fuck you talking about?"
"This police district requests all principal transportation providers to log passenger information of those traveling to and from specific locations. While customer privacy is of the utmost importance to us, we at Taxy are both required and proud to uphold our legal responsibilities."
"So why you driving the wrong way?"
"Unfortunately, the information provided in your account with Taxy does not match any existing police records. A request has been made to transport you to the station so they may identify you before we may proceed to your destination. Your account will not be charged for the additional time and distance. This matter is not criminal, and you are not facing charges or fines."
Jae kept three phones on her quadcopters. An autonomous brain, a camera, and a redundancy that stayed off by default. Three cellular devices. That counted as three people. But only the brain was likely to be on, so Taxy here was only counting one up in the sky.
My program forced the drone to shoot down to the pavement, switching on its camera and redundancy as it went, and I clung to the harness with all I had.
Taxy swerved, and I saw the guardrail coming. Then I was weightless and there was just a wall of water in front of me. Taxy and I crashed through the surface of the river then bobbed back up before I had time to think.
Found it! It was a Motherboard short story.
Edit: Thank you to FuzzyBoots for providing a complete answer; I wasn't sure if I would be adding superfluous content to my answer by quoting the relevant portions of the story. I will leave my answer as-is as an example for others.
We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.