If the code was used in an illegal way in terms of licenses; I feel for the author. Otherwise not really.
Example: If you license something under e.g. the MIT license, a company ends up using it correctly, and you feel bad about the transaction - sorry, that's on you.
I really don't get why this is controversial. You license your code under a license for a reason.