Do you have any sources for this? Never heard of the justice system compensating a company for providing data.
Here's a source discussing Google specifically: https://www.nytimes.com/2020/01/24/technology/google-search-...
I know of smaller companies that have been charging since at least 2014.
Unfortunately, that often creates incentive for the business to error on the side of sharing too much with the authorities, even when proper procedure (warrants) have not been followed. It's the only way to retroactively get payed for all that storage and for the code to retrieve that data.