Glass dildos are actually pretty common. Obviously if the glass ever cracks you don't stick it anywhere that'll hurt, but they're quite strong and aren't likely to break unless you're doing things with them no one should do with a dildo to begin with, like running them over with a car.