Complex picking via entanglement of granular mechanical metamaterials