In 2020, a Kashmir Hill investigation for the New York Times revealed that a startup called Clearview AI had scraped 3 billion photos from Facebook, Instagram, Twitter, LinkedIn, and millions of other websites — without consent — and built a facial recognition tool that law enforcement agencies were quietly using to identify suspects.

Today,...