Elon Musk–led SpaceX and Tesla could reach a merger agreement before the end of the year, The Wall Street Journal reported Sunday.