We used to have such a machince specifically for failure analysis, particularly ESD zaps. The first step to a full-blown destructive analysis is the package removal. This is followed by various etchbacks that eventually result in the complete removal of everything but the silicon. From there SEM imaging of the failed input or output will reveal a pit in the silicon where the current went during the zap.
Obviously, the identical processing results in a layer-by-layer dissection of the part for reverse engineering. However, the market for such a machine for this purpose is actually quite limited. It used to cost about $100K to reverse a complex part, so most people who are interested go to house that specialize in this sort of thing. The package removal machine is probably the cheapest part of a more expensive lab that's equipped to do this, e.g., other etchback machines, SEM, CNC-microscopes, mass spectrometers, CAD programs, etc.
TTFN