Addressable nanomechanical photonic metamaterials