Autonomous Systems and the Law