Intelligent systems: man or machine?

#artificialintelligence 

This raises the question: who is responsible for the failure of an intelligent machine? It may be appropriate for a person or company that buys an intelligent system to own it and to be fully responsible for it. Or perhaps the entities responsible for the training data, learning methods and resulting learnt model should be responsible? Maybe the hardware manufacturers should continue to hold some responsibility for the system and how it behaves?