International Business Machines Corp. reported revenue that beat analysts’ estimates, buoyed by strong demand in the…