Abbott extended its long streak of earnings beats, and the stock surged to lead the S&P 500 index’s gainers.