IoT: You become responsible for what you have deployed

Who is responsible when connected devices go on a crime spree?