In a stinging rebuke to President Donald Trump, a US appeals court refused on Thursday to reinstate his temporary travel ban on people from six Muslim-majority nations, setting the stage for a possible legal showdown in the Supreme Court.