OpenAI said Thursday it had struck a licensing agreement to use Disney's characters and other intellectual property.