Former GSK boss Emma Walmsley has been hired to take the controls of US-based computer maker HP as it grapples with AI-driven turbulence.