Spy Agency Memo Sets Rules for Artificial Intelligence and Americans’ Private Data