NEW YORK/SAN FRANCISCO/LONDON (Reuters) - Hewlett-Packard Co wants to buy Autonomy Corp for $10.3 billion and is pondering a spinoff of its personal computing arm, setting in motion a transformation that mirrors IBM's successful overhaul last decade.