Communism builds walls to prevent you from leaving and put you in labor camps if you refuse to do the work assigned to you. So they are not very comparable at all, consent makes a huge difference.
Playing devils advocate here - how this is inherent to communism?
I would rather guess that this is emerged behaviour of any human system that is facing collapse and has no preventions build in.
I could probably find a few not so great capitalistic systems results (even American flavoured ones) that had tendencies dangerously close to those you describe (ever heard about company stores ? https://en.wikipedia.org/wiki/Company_store).