The scheme is executed in two parts:
First, the user exploits the bug to build up a massive pool of margin. Roughly, this is equivalent to taking out a $50,000 loan from Robinhood
Second, the user buys $50,000 of soon to expire options. Roughly, this is equivalent to pairing with another (innocent) trader, each putting up $50,000, and flipping a coin for the pot.
If the user wins the coin toss, then Robinhood is fine: the user pays back the $50,000 he borrowed, keeps the $50,000 he won, and Robinhood nets some small amount of interest for their loan. However, if the user loses, Robinhood never gets back their $50,000 dollars. That money is now in the possession of the random trader who was on the other side of the coin toss, and there's no way to get it back because that trader legally won it. The user who ran the scam owes Robinhood $50,000 but that debt is close to worthless.
It doesn't really matter who is responsible. Even if Robinhood prosecutes everyone who perpetuates this scheme and sends them to jail, they'll still never see their money again.