U.S. equities ended a turbulent September on Wednesday with a divided performance. Technology shares gained support from softer inflation data, while the Dow Jones Industrial Average ended a five-month winning streak as surging energy costs contributed to its third consecutive daily decline.