SAN FRANCISCO (Reuters) - Hewlett-Packard Co named former eBay Inc Chief Executive Meg Whitman its president and CEO, replacing the harshly criticized Leo Apotheker in a bid to restore investor confidence in the iconic Silicon Valley company.