SpaceX (SPCX) and Tesla (TSLA) are said to be getting closer to striking a deal that would consolidate Elon Musk’s business empire and rank as the largest corporate tie-up of all time.

The two Musk-led companies have been discussing an all-stock merger and could come to an agreement before the end of the year or soon after, according to a Wall Street Journal report.

SpaceX, the world’s biggest commercial rocket launcher and satellite-internet operator, has a market value of roughly $1.8T, while Tesla, the most valuable automaker in the U.S., has a market value of around $1.6T. Analysts have come to view the deal as likely, though some expect investors to be skeptical that the benefits are large enough to justify such a move.

SpaceX’s committee includes Roelof Botha, the former head of venture-capital firm Sequoia, and DFJ Growth investor Randy Glein, the report said. On Tesla’s (TSLA) board, the committee includes Chairwoman Robyn Denholm, a former Silicon Valley finance executive, Kathleen Wilson-Thompson, a former executive at Walgreens Boots Alliance, and Jack Hartung, a former Chipotle executive.

Both committees have banks and law firms involved, including Evercore with Tesla’s, and Goldman Sachs and Morgan Stanley with SpaceX’s, according to the report.

Chief among the items the two committees are said to be working out is the exchange ratio, or the number of SpaceX shares that would be offered to Tesla shareholders in exchange for each share they own. That ratio determines the implied premium SpaceX offers Tesla shareholders for each of their shares.

More than half of Tesla shares would have to be voted in favor of a deal, the report said, adding that some people involved in the talks had hoped the two sides might come to an agreement by Thursday, when Tesla is holding its annual general meeting. That would allow Tesla to address shareholder questions on the deal’s merits at the meeting.

Musk, CEO at both companies, is barred from merger talks due to conflicts of interest, given his leadership and significant ownership stakes in both companies. He controls over 80% of SpaceX’s voting power and around 20% at Tesla.

More on SpaceX, Tesla