There are a lot of science fiction stories warning about AI. Although, they are about actual AI and not machine learning. Personally I think it is actually literally impossible to make AI built from conventional computer hardware. Anything you could ever do as a computer scientist can only ever result in more sophisticated, but not sentient algorithms.