Mostly they do not think that. What looks like a belief in invincibility is usually ordinary post-win cockiness.
Adolescents understand risk perfectly well in the abstract. What happens after a good session is more mundane: a rush of success, a sense of competence, and a temporary willingness to try things they would normally hesitate over. That reads as recklessness from the outside but is closer to overconfidence with a short shelf life.
Teenagers are already prone to overestimating their own ability — that is a developmental feature rather than a game effect. A game supplies a context in which the feeling is easy to notice, which makes it tempting to assign the cause to the game rather than to the age.
Not confiscation, which tends to end the conversation. The useful move is keeping the distinction explicit: competence in a game does not transfer to physical situations. Most teenagers already know this and simply need it said out loud occasionally rather than treated as a crisis.