HP Inc’s quarterly revenue beat analysts’ estimates on Thursday, driven by growth in its personal systems business that sells notebooks and desktops and the acquisition of Samsung’s printer business.