Legal aspects of using AI applications in business