Market breadth was narrow Tuesday, but the S&P 500 set a record close as Nvidia and Google made bullish moves.