It reminded me a lot of the Bill Cosby skit about the game Keno, he used an example of a Keno Card that had two numbers on it, you picked one and took it up to the cashier with your $1 bet, the cashier drew a number and said, "Sorry not your number, try again."
The sad truth was that a lot of people who had become wealthy because they happened to be working at a company that went public and had stock, were not particularly sophisticated when it came to the reality that even people "like you" were not your friends. I spent my Jr High/High School years in Las Vegas and got to see so many 'confidence men' fleece tourists with so many schemes. There is a great book called 'The Confidence Game' by Maria Konnikova. It is excellent and reading it you'll come to understand that not only is it possible for even 'smart' people to be taken, there are lots of people who work on being good at it.
But taking all of that into consideration, if you worked at a company, did your job to the best of your ability, and it turned out that it was a "fake" job because some third party was using it as part of a scam, you aren't part of the scam. Any more than happening to be in a bus when the driver whose been drinking kills a pedestrian. You aren't responsible for that pedestrians death and you're not being on the bus wouldn't have changed anything. So you can let that go.