SAN FRANCISCO (Reuters) - Hewlett-Packard Co Chief Executive Mark Hurd resigned suddenly on Friday following an investigation of sexual harassment, the world's top computer maker said, stunning investors and sending shares down 10 percent.