AI is undergoing a major rebuild as more co-founders leave, coding struggles deepen, and Musk ties the company more closely to Tesla and SpaceX.