South African authorities are blocking supplies for an estimated 4,000 people who are underground in an illegal mine.