Also what something is called can mean something rather different than what that name meant at an earlier time.
A ship's galley as we understand it today could be quite different in the far future where advanced automation and nanotech is involved. Today you need a complete staff to man a galley and feed hundreds or thousands of crewman. In the 23rd century maybe you only need one guy monitoring the whole operation including programming. With a sophisticated system maybe all the one (or few) individual(s) need to be primarily responsible for is making certain the right raw materials are available and in place.
And "manufacturing" can mean more than just assembling parts. Today we already take raw materials and convert them into parts to be assembled into something else. Nanotech and/or replication can simply be refining and broadening the term.