U.S. President Donald Trump has been touting the stock market's record highs, saying they will boost pensions and 401(k) plans.