SoftBank is in talks to invest up to $25 billion in OpenAI, which would make it the company's biggest backer, CNBC has confirmed.