US president warns country's system of governance is under threat from people who refuse to recognise results.