OP isn't justifying the criminal's behavior, just suggesting that the illegal market would evaporate overnight if Apple sold these parts to anyone.
Remember, these criminals essentially get these parts for "free", they can undercut Apple even if Apple sells at cost.
And Apple never sells anything at cost.
I mean, yeah, they would be cheaper, but that's the case for anything stolen. Yet we don't have an epidemic of all shops in the USA selling stolen goods they got for cheap.
Western society is pretty conformist. Give us a legitimate way to purchase something and most of us will feel more comfortable using it. Even if that means paying more.
The people selling these boards had the market to themselves.
I didn't say anything about "right to repair" but if there were one, I can only imagine that would come with a demand that electronics manufacturers make parts available (which would obsolesce the black market).
This is fraud not a right to repair issue.