The most efficient shroud shape is a funnel - the longer the better, to have a gradual taper for air to reach the blades.
The reason some fans are very close is simple: no room.