SAN FRANCISCO — Billionaire Elon Musk has overhauled the management of his artificial intelligence startup xAI ahead of a planned initial public stock offering that could rank among the largest ever, after merging the company with his rocket firm SpaceX.



