Elon Musk took to social media Monday to target the judge who ruled against President Donald Trump's federal spending freeze.