Implications of embedded artificial intelligence - machine learning on safety of machinery