It's not theft in the same way a con artist convinces you to give him all your money. The people using it or their employers just don't realize any competitor will be able to ask the LLM to replicate their product and it will copy the codebase they uploaded to them.
This isn’t how training works.