Humans and machines can achieve “factory harmony”