A worker trapped for two weeks after a mine collapsed in northwestern Mexico has been rescued, the government said Wednesday.