Establishing liability for damage caused by autonomous systems and AI