A hidden cross-border tunnel used to smuggle migrants and contraband between the US and Mexico will be sealed, Mexican border officials have said.