The memo comes at a time of growing anxiety over AI in American society, from replacing people's jobs to helping to identify targets on the battlefield.