Shock‐induced transformations of carbyne