Years ago i worked for a fire restoration company.
Smoke damage can be nasty. The odor can be
difficult to remove. It can be done though.
It depends on the amount of smoke damage, are the machines
covered in black soot?
In general,
Before using any liquid cleaners i would
vacuum everything with a brush attachment.
I would focus on any porous surface the most like
the inside of cabinet. Using liquid cleaner will set the
soot in the porous wood forever, so vacuum first.
If the inside parts are covered in black soot each will
need to be cleaned individually.
Basically this will be the shop job from hell.
They make sealers that seal the odor in a wood surface.
Obviously you would have to empty the cabinet completely.
We also would set items in a makeshift tent and run a ozone
machine to neutralize the odor at the molecular level.
Good luck.
Sorry if this is tough to read, typed on phone