Legal Issues of Social IoT Services: The Effects of Using Clouds, Fogs and AI