Spending time and effort on AI "20-50 years down the road" is a waste because:
(a) statistically based, but obviously not (or not obviously) intelligent systems are going to change the legal and practical landscape well before Ultron gets up and starts walking around, and
(b) the kinds of things they're worried about are almost certainly going to appear silly when the real thing does roll around.
The moral responsibility for a bot that orders drugs certainly belongs to the person who set up the bot to order from the "black market"; for a drone that kills the wrong people, it belongs primarily to the officer that ordered the mission knowing that the statistical software wasn't perfect. In my opinion. The supreme court may differ.
Also in my opinion, the dangers of "singularity" AI are overblown due to a soft, fuzzy, but very real upper limit on "intelligence".