I do have a little experience in robotics as well, though not with anything advanced.
The idea was to use the awakening Commands as the code and serve as the decision making for the fabrial. The fabrial part of the device would parallel your wiring and breadboard/motherboard. Say you wanted to make a simple automated switch. The fabrial would include the mechanism of the switch, using stormlight gemstones that move when activated. The awakening Commands would allow the machine to 'decide' when the switch is open/ closed.
If I Command the fabrial to switch when someone walks past it, then the investiture will recognize the person walking past and cause the fabrial to activate. The fabiral would then complete it's purpose (ex. turning on a light, opening a door). The Commands would simply give the mechanism another level of autonomy. Like with this example, it switches itself, instead of someone having to walk over and switch it on manually. This example is pretty simple but I feel like smart people could find a way to apply it to more complicated mechanisms.
As for awakening the fabrial, I don't see any reason why you couldn't. Navani has described many of her devices to made of wood, which is a natural material that works with awakening. The real question is, could you awaken gems that come from gemhearts? Because the gemheart is formed inside a creature would it be considered a natural material?
As stated above though, an advanced fabrial that is already being pumped full of stormlight could become awakened on it's own. I do think that using awakening first instead might allow for more planning and finetuning on the engineers end of things.