Elon Musk's AI company, xAI, raised $6 billion, doubling its funding to $12 billion and its valuation to over $40 billion.