Avago to buy Broadcom in $37 billion chip deal