Nonlinear, sensing and switching functionalities of nano-optomechanical metamaterials