Elon Musk confirmed that boards of Tesla and SpaceX have formed special committees to explore a potential all-stock merger between the two companies.