Elon Musk thinks his robot software can make Tesla Inc. worth as much as Apple Inc. He has the chance to prove it very soon.

In three different facilities spread across America, Tesla’s TSLA, -1.77% robot-manufacturing prowess is about to show its worth. If Musk — who, to his credit, is building rockets that can land already — can accomplish his accelerated ambitions for automated manufacturing, Tesla would at least own a piece of the pipeline over Apple AAPL, -2.95% .

Musk said in 2015 that Tesla could achieve a $700 billion market cap in 10 years, and he prefaced his reiteration Wednesday with, “I may be completely delusional.” When an analyst asked Musk to update his bold statement in an earnings call, the CEO said it would “heavily involve Tesla going at the machine that builds the machine.”

“Which involves, by the way, a tremendous amount of software,” he explained. “This is not just a bunch of robots that are sitting there. It’s programming of the robots and how they interact. And it’s far more complex than the software in the car.”

See also: Elon Musk says Model 3 is still on track for Tesla

Musk is referencing the advanced machines that will produce the Tesla Model 3 and the batteries for it, an audacious attempt at becoming a major American manufacturer in a short time. Along with solar-panel manufacturing adopted in the SolarCity merger, Tesla is rolling out three new production lines in the coming months, planned for peak performance.

Think you would win an argument with a robot? Watch this.

The former NUMMI factory in Fremont, Calif., has undergone a rebuild and is projected to go from its current pace of building 100,000 cars a year to one that, by the end of 2018, could build 500,000 annually. Musk promised the aggressive schedule after receiving 373,000 reservations with a $1,000 deposit for the Model 3, which is expected to begin production in July as of now.

The Model 3 is a lower-budget version of the Model S, and a main reason Tesla can afford to drop the price is the plans to manufacture its own batteries at the “Gigafactory” near Reno, Nev. The company said Tuesday that manufacturing machines, presumably with Tesla’s special-sauce software, are being installed in the facility, which Musk has said will exceed previous global lithium-ion battery production.

See also: Tesla to unveil two different trucks in coming years

The building itself is so large, it even boggles Musk’s brain.

“I mean, you could put three Pentagons — more than three Pentagons — I think four Pentagons? I don’t know, a lot. Just in the Gigafactory,” he said in the call.

Some Gigafactory batteries are also going to the Tesla Energy business, which got much bigger late last year when SolarCity was added. That merger also brought an in-progress solar-panel manufacturing facility near Buffalo, New York, which is now called Gigafactory 2.

Tesla’s solar roof is supposed to be manufactured there after a test run in Fremont this quarter, and Tesla says Gigafactory 2 will eventually make up to 10,000 solar panels a day. Those panels will go to residential customers, who can now purchase solar power systems at some Tesla retail stores, as well as to large-scale installations like one Tesla finished earlier this year on the island of Kauai, Hawaii.

Don’t miss: Elon Musk plans crazy 2017 for Tesla, but SolarCity may be the biggest headache

That is a lot of manufacturing, and all of it truly begins this year with new machines that Tesla believes will make the process more profitable than the overseas contract manufacturers Apple uses.

“I think this is just going to be a very difficult thing for other manufacturers to copy,” Musk said Tuesday. “I don’t know what to do if I were in their position.”

Apple has used contract manufacturing to build its massively popular iPhone, and contracts with suppliers for batteries, just like most of its other parts (and as Tesla does for its other car parts). Otherwise, the companies similarly own a large part of the experience, with styled retail locations that have repair stations and software that can be remotely updated.

Why the bank of the future will look like an Apple store

Apple, however, has a massive head start on Tesla. It has sold more than a billion iPhones, iPads and Macs in the last decade, while Tesla has yet to sell a million cars in its lifetime. Apple also has actual and very large profits. In fact, Apple’s quarterly profit, announced Tuesday, eclipsed Tesla’s full-year revenue in 2016.

Tesla’s massive losses make many rail about its current market valuation of more than $50 billion. But Musk sees a path to the math of Tesla being worth $700 billion, and he broke it down in 2015.

Read also: Elon Musk on new Boring venture: ‘Trying to think about the future and not be sad’

“If we’re able to maintain a 50% growth rate for 10 years and achieve 10% profitability number and have a 20 P/E, our market cap would be basically the same as Apple’s is today,” Musk said. “Now, that’s going to require a bit —on the order of $700 [billion]. Obviously, getting there will require some significant capex.”

The massive facilities with new manufacturing equipment are the result of Tesla’s significant capital expenditures spent before and since that statement. For Tesla to live up to Musk’s Apple-sized ambitions, those robots’ software will have to be really good.