Functional Kirigami By Exploiting Elastic Instabilities