Theresa May's hopes of getting her Brexit deal through the Commons have been dealt a major blow after US President Donald Trump said it may harm trade with America.