xAI, Elon Musk’s 10-month-old competitor to the AI phenom OpenAI, is raising $6 billion on a pre-money valuation of $18 billion, according to one trusted source close to the deal. The deal — which would give investors one quarter of the company — is expected to close in the next few weeks unless the terms of the deal change.