This just happened to me by accident, luckily I was just messing around and it was no major loss, but it seems like factories can disappear into the ether this way.
Basically this happens if you mark your factory building for deconstruction, then walk inside it before your robot does the deconstruction.
When you leave the factory you will reappear at the correct coordinates but the factory is gone ... and apparently so too is your robot and the factory item it should have been carrying. No idea where it has gone too, I waited around and it never returned to me. This seems reliably reproducible.
Suggested fix would be to cancel any deconstruction order on the factory the moment you enter it?