There's one simple step you can take
Close apps after you're done with them! They can't access location information or accelometer info or any of that stuff if they aren't running! You aren't going to run gasbuddy while you're driving (at least I hope not) but when you run it you can click on 'directions' to have it to map your route using Apple/Google Maps and that's when you should close gasbuddy.
I do this out of habit every time I put my phone down. I might leave Messages running if I'm going back and forth with someone but pretty much everytime I pick up my phone to do something like check the weather, check sports scores, waste time on social media I'll close the app(s) I started before putting the phone down. I rarely leave anything running in the background. So good luck for those apps to track me on any ongoing basis, no matter what evil SDK they use or what shortcomings there on in permissions to block apps from accessing the accelerometer.
It doesn't take long to train yourself do this. I started doing it when I got my iPhone 3gs not out of privacy concerns but because I figured it would run faster not leaving a bunch of crap taking up its meager RAM. That's obviously not a concern on my 16 Pro Max but once I got into the habit I never stopped because there was no good reason to stop.
I can't imagine how many people have a dozen or more third party apps running in the background 24x7 monitoring their location, how many steps they take, how often they pick up their phone, and on and on. Most people don't even bother to check permissions on apps or restrict them so I wouldn't be surprised if some have asked for permission to access location or even camera/microphone that have no business doing so they've mindlessly granted.