Using AI in manufacturing for increased productivity