It's been my experience that vinegar works great in removing odors.
If you can place the machine (assuming it's a portable and not in a stand-alone wood cabinet) in a plastic garbage bag along with an open dish of vinegar... leave it for days. Then see if it's better.
I bought a small wood secretary years ago. Once I got it home, I realized it smelled of smoke. After wipeing it down with vinegar (inside the drawers) and setting it outside for a week, it was much better.
Hope you are able to remove the odor. And enjoy your machine.