This issue is currently not reproducible in ArcGIS Hub. Downloading a shapefile from a publicly shared Hub service shared through a public Hub site retains the field lengths for string and numeric fields. If this issue continues to occur, please reach out to Esri Support Services for further investigation and accurate steps to reproduce this issue.