The steel defender can take reactions as normal (doesn’tit doesn’t require the artificer to instruct it), so because it is not surprised, it can also use deflect attackits Deflect Attack reaction to protect the (surprised) artificer.
SurprisedSurprise has other mechanical effects, e.g. the Bugbear’s surprise attackSurprise Attack trait: “If you surprise a creature and hit it with an attack on your first turn in combat, the attack deals an extra 2d6 damage to it.” which
If you surprise a creature and hit it with an attack on your first turn in combat, the attack deals an extra 2d6 damage to it.
...which therefore wouldn’t work against the steel defender.
So whilst the steel defender is limited in what it can do if its master is surprised, it’s certainly not a useless trait.