OpenAI is in talks with Amazon about a potential investment that could top $10 billion and include using Amazon’s in-house A.I. chips.