How factories are deploying AI on production lines