Stocks finished lower Wednesday, with the S&P 500 snapping a four-day streak of record highs, following weakness in global equities and a mixed bag of earnings reports.

(Read more: After-hours buzz: AT&T, Akamai, Visa & more)