SAN FRANCISCO (Reuters) - Hewlett-Packard Co Chief Executive Mark Hurd resigned on Friday following an investigation of sexual harassment, the world's top computer maker said.