Trump rang the bell as a symbolic act that reflects how he has increasingly tied his presidency to the stock market.