AI driven manufacturing optimization