Liberty Media is buying the racing business Formula 1 for $4.4 billion, the company has confirmed. The announcement ends years…