Apple spent years trying to design a system to stop the spread of child sexual abuse material on iPhones and iCloud. When the company scrapped it, child protection investigators were frustrated. But Apple’s privacy-first approach gained plenty of fans in the process.