The US president has long criticised unfavourable news, but his recent remarks represent an escalation of threats against the media.