Data Analytics and Artificial Intelligence for Predictive Maintenance in Smart Manufacturing