(Reuters) - A slide in Apple and Goldman Sachs' shares pulled Wall Street lower on the last trading day of 2017, in what has been a banner year for U.S. stocks.