This is a semi joke answer but I have worked at some of the big corps and see how they use OSS software. One way I have continuously thought about to prevent usage is to make all of the variables/function names/APIs contain profanity and PR incorrect jokes. I do know that every single corp has a profanity filter to prevent any bad word being added to code. It’s not bullet-proof but certainly makes it a lot more difficult to get that code on corpo servers and past legal.