Robot law: what happens if intelligent machines commit crimes?