SpaceX will acquire AI coding platform Cursor in an all-stock deal worth $60 billion, the company said in a filing Tuesday.