(Reuters) - Hewlett-Packard completed its $12 billion buy of British software firm Autonomy on Monday, the centerpiece of a botched strategy shift that cost ex-chief executive Leo Apotheker his job last month.