Jerome Powell delivered a warning during his final press conference as Federal Reserve chairman.