AI negotiates legal contract without humans involved for first time