Rescue workers in South Africa are trying to free 17 miners trapped underground after a fire at Doornkop mine west of Johannesburg.