How will the psychologies of humans and intelligent machines compare?

On the one hand, we are and have been for some time trying to uncover the intricacies of human nature. On the other, we are creating a mind from scratch that runs on markedly different hardware.

Will the two end up functioning in the same way? Or will these two entities have entirely different internal worlds? Or, third option, will we end up merging into something else again?