Label the pieces by type: A, B, C, etc
Add corresponding annotations to the manual.
Other brands do this. It vastly reduces the amount of time spent "is this the right piece of plywood? Or is it this other one? Which of these two screws?"
Some context through text would help even more in certain places, but you don't even have to go that far to make it a lot easier for people not familiar with matching parts to diagrams.
What's fun about that nightstand is that you have to really look at the picture in details to figure out which side up and which side forwards for the drawer slider stuff.
But of course IKEA doesn't want to pay translators to write that sentence in 20+ languages, so pictures only it goes.
Also tou need to assemble everything laid out as it's displayed in instructions without any improvisations. It's not the case of "if everything else fails RTFM"
And if it was that hard you wouldn't see so many people with so much Ikea furniture out there. :)
The robot was "fed a kind of manual, a set of ordered instructions on how the pieces fit together" - if all it was given was pictures of the real manual, that would be quite cool, but I'd love to see more details here.