(Reuters) - International Business Machines Corp's revenue rose for the first time in 23 quarters and beat analysts' estimates as the company's shift into its focus areas such as cloud computing and security services gains traction.