Criminal and Civil liability are the two topics to focus on - you will find that non-human entities have very limited categories of crimes that apply to them. This is a key topic in the emergence of 'seemingly conscious' or 'seemingly unitary' AGI compute entities.
Also worth noting that Common Law tends to be the primary mode of law globally, even in counties that are nominally Code Napoleon (aka Civil Law) countries.