The effects and ethical dilemma of artificial intelligence