Blockchain, AI and cloud helped pull IBM out of its revenue rut