Artificial Intelligence For Production Machines With Applications In Additive Manufacturing