How hydrophobicity shapes the architecture of protein assemblies