Few stocks have outperformed the "Magnificent Seven" in recent years. All seven have seen their share prices rise by more than 400% during the past decade; some have even skyrocketed by nearly 20,000%!

Only one stock among the seven -- Tesla (TSLA -1.11%) -- has posted a negative return during the past three years, losing roughly 16% of its value.

Prominent investors like Jim Cramer are now calling for Tesla to be removed from the Magnificent Seven. While it probably won't be chosen as Tesla's replacement, there's one $900 billion business that should be strongly considered. It isn't as tech focused as the rest of the group, but it stands a good chance of becoming the next $1 trillion company.

The next $1 trillion stock

Many of today's trillion-dollar companies are completely focused on technology. The Magnificent Seven currently includes Alphabet, Meta Platforms, Apple, Amazon, Nvidia, and Microsoft -- all pure plays on the rise of technology. Tesla, the one member of the group with a market cap of less than $1 trillion, is arguably the least tech-focused business.

It might come as a surprise, but Berkshire Hathaway (BRK.A -0.76%) (BRK.B -0.69%) makes a lot of sense as a Tesla replacement. With the company's market cap at nearly $900 billion, its shares would only need to rise another 13% to surpass the $1 trillion mark. That could happen as early as this year.

Tesla, meanwhile, currently has a market cap of about $570 billion. That's still huge, but purely from a size standpoint, Berkshire fits the Magnificent Seven mold better than Tesla.

BRK.B Market Cap Chart

BRK.B market cap data by YCharts.

You might be asking: Isn't Berkshire even less of a tech company than Tesla? The answer could surprise you.

At its core, Berkshire is essentially an insurance business with an investment arm. That doesn't sound like a tech company, but the top holding in its publicly traded investment portfolio is actually a Magnificent Seven stock: Apple. That stake is currently worth about $168 billion -- nearly 30% of Tesla's current market cap.

And that isn't Berkshire's only tech position. It also owns around $1.8 billion in Amazon stock, $970 million in Snowflake shares, $2.3 billion in Visa, $1.9 billion in Mastercard, $685 million of HP stock, and $1.3 billion in Nu Holdings shares. The conglomerate even owns $2.4 billion in BYD, an electric vehicle company that competes directly with Tesla in China.

To be sure, Berkshire is hardly as tech focused as the rest of the Magnificent Seven. Even when all of its technology investments are combined, they still represent a value of less than $200 billion. Still, that's nearly one-quarter of Berkshire's market cap, making it much more of a tech-focused stock than many might realize.

A better buy right now

It can be very difficult to compare Tesla and Berkshire directly. Each business makes money in entirely different ways, requiring different valuation methodologies. What we can do, however, is compare how expensive each stock is relative to its peers.

Compared to traditional automakers like Ford, General Motors, and Volkswagen, Tesla stock is hardly a bargain. Even compared to other electric vehicle manufacturers like Rivian, it is still priced at a steep premium.

TSLA PS Ratio Chart

TSLA PS ratio data by YCharts; PS = price to sales.

Berkshire is also priced at a premium to many of its competitors, but that premium is significantly less. On a price-to-book basis, the shares trade at a 20% to 50% premium to similar businesses. Tesla, for comparison, trades at nearly a 200% premium compared to Rivian on a price-to-sales basis.

BRK.B Price to Book Value Chart

BRK.B price-to-book-value data by YCharts.

It's unlikely that Berkshire will ever join the Magnificent Seven; it simply isn't focused on technology enough to warrant consideration. But as we've seen, it's more heavily invested in tech than most people might realize.

Even after a sharp decline, Tesla stock remains relatively expensive, while Berkshire Hathaway shares are priced reasonably given its long track record of success. It may not replace Tesla in the Magnificent Seven anytime soon, but it should replace Tesla in your personal portfolio.