A judge declined to sanction Elon Musk for skipping a meeting with the US Securities and Exchange Commission to watch one of his rockets launch.