The $3 million ransom was a small price for a ship and cargo worth, together, a quarter billion dollars. Even for an unmanned ship, the owner has plenty of reason to to pay ransoms that are a literally pennies on the dollar compared to losing the ship completely.
http://en.wikipedia.org/wiki/MV_Sirius_Star