South Korea's government has threatened to arrest thousands of striking junior doctors and revoke their medical licences if they do not return to work on Thursday.