Millions of Americans invested in index funds and 401(k) retirement accounts will automatically gain ownership stakes in SpaceX following the company's historic initial public offering, one of the largest stock market debuts ever.

SpaceX went public on Friday with an opening share price of $150, which quickly climbed higher during trading. The company's valuation exceeded $2 trillion by market close, making it a significant addition to major stock indexes. As SpaceX becomes included in these indexes, passive investors holding broad market funds will instantly own portions of the aerospace company without taking any action.

The automatic inclusion represents a major shift in SpaceX ownership. Previously, stakes in the company were limited to private investors and employees. Now, ownership has broadened dramatically to encompass millions of ordinary Americans saving for retirement through standard investment vehicles.

"It is certainly hard to believe that a little company that started in a warehouse in El Segundo is now going public with the largest IPO ever," Elon Musk said during remarks at SpaceX's headquarters on Friday morning. He emphasized the company's mission to "make humanity multiplanetary" and noted the company's journey from its early days.

The IPO made Musk the world's first trillionaire based on his ownership stake in the company. Financial analysts are currently calculating how much SpaceX stock will appear in typical retirement portfolios based on the company's market capitalization and how heavily it will be weighted within major indexes.

The inclusion of SpaceX in index funds comes as the broader stock market continues climbing. The S&P 500 recently crossed 7,000 for the first time, driven partly by technology sector strength and investor optimism around artificial intelligence. SpaceX, which operates both as an aerospace company and an artificial intelligence company, fits squarely within this trend.

Some observers have raised concerns about the implications of SpaceX's automatic inclusion in retirement accounts. A Guardian analysis noted that Americans are increasingly worried about artificial intelligence's future impact, with eight in ten expressing concern according to recent polling. The automatic investment means skeptical Americans will now have their retirement savings tied to the technology sector's continued growth, whether they actively support these developments or not.

SpaceX's valuation at IPO reflected massive confidence in the company's long-term prospects, despite the aerospace industry's inherent risks and challenges. The company's shift from private to public ownership marks a turning point for the space sector and signals major investors' belief in commercial space activities as a significant economic force.

The timing of the offering, which occurred in mid-June, aligned with symbolic dates according to reporting on the company's planning process, though the fundamental driver remained investor demand and market conditions.