OpenAI in talks to raise funding that would value AI startup at up to $340 billion