OpenAI is in talks for an investment round that would value the AI startup at up to $340 billion, the Wall Street Journal reported on Thursday.