The West Virginia attorney general’s office sued Apple on Thursday, claiming the tech giant allowed child sexual abuse materials to be stored and distributed on its iCloud service.