The police should show that a crime has likely been committed, and get access to just the data that probably has evidence.
There are many other contexts where we trust properly supervised people who lack an immediate and obvious incentive to abuse the system. Combined with good overall software design, auditing and transparency almost all of the harms could be mitigated. And the tech does have some pretty major benefits.