The Agnelli family sold a €3 billion ($3.14 billion) stake in Ferrari NV to fund what it calls a “sizeable new acquisition” and stock buyback.