US President Donald Trump on Thursday assailed Democrats for their impeachment inquiry and said there should be a way to stop them, perhaps through courts.