Research Triangle Park, N.C. — IBM is trying to keep up as customers shift from buying their own computer servers to relying on the cloud, where data and applications are delivered online instead of being stored locally. A slump in demand for hardware has contributed to six straight reported quarters of declining revenue, forcing the company to adapt....