HP Inc. gave a profit outlook for current year that fell short of estimates and the company said it will cut 4,000 to 6,000 employees through fiscal 2028 by using more AI tools.