The Supreme Court on Monday brought an end to lawsuits over whether Donald Trump illegally profited off his presidency.