This has happened to me! In a programming job, no less! Is this something which could be addressed through the use of a specialized AI assistant? The biggest barrier to uncompensated workers is the cost of litigation. If the worker could represent themselves effectively, then this would stop.
JFC tech workers sometimes. Just unionize man, that's like the whole point of unions. An "AI assistant" that was effective would be telling you the same thing. You can't convince your boss that paying you what you are owed is the correct choice, you don't have any power in the relationship. Whether they are right or not, they BELIEVE you are eminently replaceable.