The outgoing president used his final televised speech from the Oval Office to issue a series of warnings.