The deal closes after months of bidding wars and legal wrangling. The new company, called Skydance, will be led by tech scion David Ellison and Ynon Kreiz, formerly the top executive at Mattel.