There's a slight difference between someone memorizing how things work, versus whole sale theft of corporate documents, data, complex technical design, etc.
You'll note that this was exactly the case with Samuel Slater; the Brits considered him a thief regardless.
There, it's even now.