Electronic sputtering of carbon allotropes