HP, the world’s second-largest personal computer vendor, has denied a report that it was shifting more than half of its production away from China.