SpaceX on Tuesday announced a partnership with AI coding company Cursor, saying the alliance comes with an option to buy the startup for $60 billion later this year.