IBM's stock ended Monday as the worst-performing member of the S&P 500 following a disruptive AI announcement from Anthropic.