Physics reveals no fundamental difference. Computation is computation according to physics. There is a symbiotic relationship possible between humans and machines. Meaning the code you speak of is evolving and as AI improves it can improve our ability to improve it's code while also helping us improve our ability to improve ourselves.
RE: Can AI be trained to assist with moral decision making?