OpenAI plans to end its Cursor partnership after the SpaceX deal as Sam Altman pushes Codex and a broader AI developer strategy.