Elon Musk’s artificial intelligence startup xAI has raised another $6 billion from investors as it ramps up competition with Sam Altman-led OpenAI, according to a regulatory filing.