you make a perimeter around such events and disperse them evenly rather than huge clumps coming out such a bottleneck as a door.
As someone else pointed out, there is always going to be a bottleneck when thousands of people are leaving a venue. There is no way around that.