It sounds like you have an anecdote about some people you know working on these projects, but the details that seem intended to imply that it's unlikely that _any_ people working these projects are Chinese prisoners actually imply the opposite.
Selling drugs may be more profitable, but you still prefer a developer job. You cannot apply logic that way.
These are state companies, they are responsible for hundreds of thousands employees if not more, those people need jobs. And most jobs require training and expertises. Anyway, we are living in parallel worlds now. I am trying to chip in whenever I can.
http://www.asianews.it/news-en/Chinese-prisoners-used-as-lab...
https://www.moroccoworldnews.com/2013/11/111829/morocco-chin...