Revenue share isn’t bribery because the revenue isn’t shared with the judge. It’s a cost structure to make the municipality or whatever avoid having to outlay money to build something.
Similar to some joint public/private toll roads, red light cameras, etc.
This is one of the things that needs regulation, because there will be a monopoly.