A Comprehensive Survey on Applications of AI Technologies to Failure Analysis of Industrial Systems