So, I'm getting what I think is the exact same error as these fellas. I have the mod Nanobots, and when they build the buildings then the filter machines don't work, and then when I try to pick them up, either by hand or using Nanobots, then it gives me the error below and crashes the game. I can't speak to what happens when using vanilla robots, as I haven't gotten to them yet.
The specific machine in this case is the tier 2, but I was having almost the same issue with the tier 1's, but I was able to pick them up somehow, so I just kinda moved on, and didn't pay attention to the specifics...
The mod Better Air Filtering (0.3.3) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event better-air-filtering::on_player_mined_entity (ID 66)
better-air-filtering/control.lua:364: attempt to index field '?' (a nil value)
stack traceback:
better-air-filtering/control.lua:364: in function 'removeFromMap'
better-air-filtering/control.lua:432: in function 'removeFilter'
better-air-filtering/control.lua:478: in function <better-air-filtering/control.lua:473>