Analyze current and emerging technologies specific to artificial intelligence and summarize the ethical and legal effects on humanity.