SpaceX chief executive Elon Musk heaped praise on US President Donald Trump during a rally shortly after the swearing-in.