This is a bit of a simplification! Neural net engines generally use Monte Carlo Tree Search over a pure minimax/alpha-beta search. MCTS rewards moves that lead to wins in all explored variations, not just the best play for each player.
Your point is still true though: computers still aren't able to reliably find "this will be the most testing line in a practical game against a human opponent". They're too far ahead of us: the MCTS leads to better results against computers of similar strength, but doesn't accurately predict where humans will go wrong. Humans (with computer help) are still better at that.