Sub-Terahertz Channel Measurements and Characterization in a Factory Building