I've heard it's used for scripting and AI in some places (probably just Naughty Dog, tbh), but most of the code that goes into a game isn't in script, unless it's a slow game.
Game logic is the biggest use case for scripting. I wouldn't even think about writing the rendering code in one.