Artificial Intelligence: regulation for self-protection