In the end, Amgen Inc. and Onyx Pharmaceuticals Inc. got the deal done. The companies disclosed Sunday evening that the boards of directors of both companies unanimously approved Amgen’s acquisition of South San Francisco-based Onyx for $125 per share in cash for a purchase price of $10.4 billion, or $9.7 billion net of Onyx’s estimated cash.