Law Commission explores AI and legal impact