IBM stock is crashing over 20% in Tuesdya's trading after the company gave an unexpected pre-earnings warning.