United Rentals Inc. agreed to buy family-owned Ahern Rentals Inc. for about $2 billion in cash to expand its footprint on both US coasts and in the Gulf-coast region. Ahern has about 2,100 employees in 30 states.