IBM stock plunged nearly 20% after disappointing earnings revealed weakness in its software and infrastructure businesses.