Elon Musk’s push into artificial intelligence is taking the form of an acquisition that is bound to spark debate. Just days after the historic stock-market listing of SpaceX, the aerospace company has announced a $60 billion deal to acquire Anysphere, the San Francisco startup that develops Cursor, one of the most widely used AI-assisted coding tools in the world.

The transaction, expected to close in the third quarter of 2026 once it clears the necessary regulatory approvals, is the largest investment SpaceX has ever made in artificial intelligence. It confirms Musk’s intent to turn the group into an increasingly integrated technology ecosystem, stretching from rockets to intelligent software.

What Cursor is and why it is reshaping developers’ work

Founded in 2022, Anysphere has within a few years become one of the most promising startups in the field of AI applied to programming. Its flagship product, Cursor, is an AI-powered code editor that lets developers write and modify software using natural-language instructions.

The platform’s rise has been striking. According to figures released by the company, Cursor surpassed $4 billion in annualized revenue in June 2026, after having reached the $1 billion mark just a few months earlier. That growth has been driven above all by large companies: roughly 75% of revenue comes from the enterprise segment.

One of the factors behind Cursor’s success is its ability to understand the context of an entire software project and act directly on the code, automating tasks that until recently required developers to work by hand. These capabilities have allowed the startup to break into more than half of the Fortune 500 and to compete head-on with offerings such as Anthropic’s Claude Code and OpenAI’s Codex.

Why Elon Musk wants to buy Cursor

Musk’s interest is not driven solely by the software’s commercial success. The acquisition answers specific strategic needs of SpaceX and its artificial-intelligence division, xAI.

Since SpaceX absorbed xAI in early 2026, the group has been trying to close the gap with the leading rivals in the generative-AI market. OpenAI and Anthropic have carved out a dominant position in the market for coding assistants, one of the segments generating the highest revenue in the AI world.

Cursor offers Musk two immediate advantages: on one hand, it secures access to a large base of professional developers and already-loyal corporate customers; on the other, it lets xAI move quickly into the assisted-coding market without having to build a competing platform from scratch. Integration with Colossus, the vast supercomputer xAI has built in Tennessee, could also give Cursor far greater computing capacity than it has today, accelerating the development of new products and AI models.

The ’Macrohard’ project and the ambition to build an AI-run SpaceX

The deal fits into a broader strategy that SpaceX laid out in the documents prepared for its stock-market listing. The group is working on an in-house platform called “Macrohard,” an ecosystem of AI agents designed to automate increasingly complex tasks.

The goal is to use artificial intelligence to optimize the design, production, testing and even the future orbital operations of its Starship spacecraft. In that context, Cursor becomes a key building block, supplying the tools needed to develop software faster and more efficiently. According to several analysts, the acquisition could also move SpaceX closer to its longer-term goal of building data-processing infrastructure in space, using the Starlink network and future orbital platforms as advanced computing centers.

How the Cursor acquisition ties to SpaceX’s recent IPO

The timing is no accident. The announcement comes just days after SpaceX’s debut on the Nasdaq, considered one of the most important offerings in the history of financial markets. Following the June 12 IPO, the company’s shares have posted sharp gains, pushing its market capitalization close to the levels of the largest US technology companies.

The Cursor acquisition would therefore help strengthen the group’s standing with investors, reinforcing the image of a company set on expanding its presence in the fastest-growing technology sectors.


Editor’s note

This article was originally published in Italian on money.it by P. F. on June 16, 2026 as «Perché Elon Musk è così interessato a comprare lo strumento di coding AI Cursor per $60 miliardi?». It has been translated and adapted for an international audience by the Money.it International desk.