When you get done designing a beautifully complex system you have that moment when all of a sudden somebody has to actually build it. I don’t have any data, but I’m sure people have died over manufacturability.
This automated assembly and/or disassembly stuff takes the designed system and tries to let the computer figure out what order to build it in. For example, an algorithm will basically “wiggle” all the pieces in the 3D model and see which of them come off without being blocked by another piece. Those go into the “first” level. Then wiggle all the remaining pieces and see which of them come loose; put those in the “second” level. Repeat.
That process gives you relations like (Part A [came off of] Part B). Doing it automatically requires a really good 3D model and doing it fast requires a really good computer to manipulate the 3D model. Even then, it’s common to make unrealistic simplifying assumptions like pretending every part is rigid. But it works for most things.