AI is used in manufacturing for optimization