OpenAI will allow the U.S. government to assess the capabilities of its artificial intelligence models before the company releases them.