The president is right that the stock market is rallying during his tenure, but it's massive global tech companies leading the way.