Legal safeguards in place to prevent potential harms that may arise from AI and related technologies