Sorry, but this makes my head hurt.
>>> best chess engines are still worse at analyzing openings than humans.
>> Is that actually the case, or perhaps humans try a lot of sub-optimal opening lines?
> Sub optimal from the perspective of the AI
There's no perspective involved: optimal play is perfect play, assuming the opponent also plays perfectly. If a move is sub-optimal for White that means White has a better move, no matter what the opponent plays.
Sure, in practice a non-perfect-player might do better playing a sub-optimal move A rather than a better move B, because they don't know how to continue after B or because their non-perfect opponent ends up replying even more sub-optimally to A.
But just because I can manage to pull a fool's mate on someone that doesn't make it an optimal opening. One could say I might be "optimizing" for fun or for time, but if you redefine optimality arbitrarily then the original claim might as well be "chess engines are worse than humans at analyzing openings because they play better than humans".
PS: I'm not claiming that chess engines are better or worse than humans.
And, incidentally, playing an inferior move while hoping the opponent makes a mistake is bad even if it works, as it really hinders your progress.