>>414071804
Do not use the unity humanoid bones. 
Only use them as an "aim constraint" towards them
Setup a separate IK system that has a rotation on a single axis joint.
Imagine it as the "real" humanoid arms as invisible and you have this new robot jointed arm that just tries to closely follow it