US stocks end mostly lower as chip rebound fizzles, oil retreat supports cyclical shares