Probably first such machines will operate illegaly in some countries and hire protection from humans for its phyisical assets.
How can a machine break the law?
EDIT: If there is a positive answer, it might be similar to how money and other assets can be sued in asset forfeiture cases.
Guns and cars aren't prosecuted for murder. I'm assuming autonomous cars won't be either.