IF the machinists are doing R&D, they get the same treatment as software engineers.
Nope.
For machinists, it is up to the employer whether to treat their work as R&D or a regular expense.
After Sec 174, for s/w developers, there is no choice.