Similar answer as above.
The Robot Handbook has a couple of items that would make this very simple.
First, you would need a Robotics Laboratory with a fabrication chamber and controllers. Granted, a standard starship workshop can
accommodate up to 100 chamber litres of fabrication chambers (Thanks, CSC Update), but those extra goodies help the robot tasks a bit better.
The Lab Control Robot, Advanced is a TL-12 advanced brain with Science (robotics) 2 that can help design the robot. Fab Creator software is needed to create the novel design.
Each design step (and I would follow the process as outlined in the Robot Handbook), should take 1D x 4 Hours (example: researching a problem).
Unfortunately, building it could be very inexpensive (and then you could sell it on the open market)- per the CSC Update (the Referee can impose a 2D x 10% materials cost for computers, robots and complicated electronic machinery).
Build time is easy (Again, from the CSC Update): ...meaning a highly complex electronics-laden item like a robot may require as much as eight times the listed time period to be ready for extraction...
I have run, and played in, several campaigns where the players became small-scale manufacturers or aftermarket craftsmen. Not only does it add to the fun, it creates a lot of opportunity for corporate espionage related adventure hooks.