Artificial intelligence to enable smart prognostics and health management of manufacturing systems for industry 4.0