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