OpenAI’s Sam Altman said the company will amend its deal with the Defense Department to explicitly prohibit the use of its AI system on mass surveillance against Americans.