Co-translational assembly orchestrates competing biogenesis pathways