The US beer market has sailed past a historic landmark as the number of breweries hit a record high.