Safety hazards with bike tyres are more related to whether the tyre is going to suddenly deflate on a downhill, for example. Worn out thread alone is not an issue like it would be with car tyres. Many bike tyres are slick to begin with. But if there are cracks and fissures in the sidewall, I'd replace it to avoid having it explode during a ride.
--J