SpaceX shares rose 4.83 per cent and Tesla stock gained 5.22 per cent following reports of merger discussions between the two companies.