The US president also insisted he could have beaten Donald Trump during a wide-ranging press conference just days before he leaves office.