Computer maker HP to cut up to 6,000 jobs by 2028 as it turns more to AI

US firm says plan to speed up product development and improve customer satisfaction would save $1bn a year