Wall Street’s S&P 500 rose for the third consecutive day on Wednesday, buoyed by strong economic data and advances in the tech sector.