SpaceX has agreed to acquire Anysphere, the company behind the AI coding platform Cursor, in a deal valued at roughly $60 billion.