If I know a player is bad at certain types of situations I will be trying to force the player into those positions.
And chess engines are vulnerable because they don't learn and can be repeatedly exploited if you can find a way.
I suspect but can't prove that for the positions we're talking about here (opponent's pawn should be promoted, but promoting to a Queen is terrible) in Chess you're putting yourself in a very similar situation, ie. to pull this off you're obliged to deviate so far from good strategy that you invariably lose anyway.
For chess engines playing each other we already know it doesn't matter because the chess engines play far more games than it would take to notice, some of them have exactly this "weakness" and others do not, and of course for chess engines playing humans it's a joke, the humans aren't competitive in that scenario.
To quantify, here's raw counts from a representative sample of serious games:
$ rg -Io '=\w' twic*.pgn | sort | uniq -c
365 =B
1551 =N
122386 =Q
1393 =R
I see knight (N) under-promotions pretty regularly on chess streams. The common pattern is there isn't a free tempo to promote the pawn, unless promoting the pawn creates an immediate threat that holds the attacker's initiative; and a knight at that particular moment creates that opportunity.I, of course, understand why people would promote to a knight.
I think the point OP is making is that if you need to use your mind at all with <2 seconds left you're going to lose. Pre moving safe legal moves without hitting a stalemate is definitely easier without a queen.
In fact: all of the =R promotions I inspected were frivolous, and 4/5 of the =N promotions were frivolous. I'm surprised it's that bad. One scenario where this happens is "capture-promote, followed by immediate re-capture".
(also this https://www.youtube.com/watch?v=3COS0_p3sfo)
Well, on a little bit further reflection, possibly you may want to promote to bishop instead of queen if it helped you get to stalemate when you were confident you wouldn't win. Or as others said, to avoid the opponent having an opportunity to get stalemate.
https://media.chesscomfiles.com/videos/wide/My_Best_Move_Ale...
So it's understandable for a machine not to even bother modelling these weird cases I think.