In Sword Art Online Alicization, a type of AI named ALICE (Artificial Labile Intelligence Cybernated Existence), were developed by replicating human souls into machines for military operations to avoid the militant's death.
The Machine from Person of Interest is used to detect crimes and acts of terrorism through mass surveillance.