I loved the HP books as a kid but I was only an ardent fan up to book 4 (which came out in 5th grade for me).
The criticism of Harry Potter as an unrealistic male is bizarre for anyone that believes in the 80/20 rule of male hierarchy (which I'm pretty sure includes Dak). Beta men (and lower) are always a minority by definition, and I'm willing to bet that male readers of children's fiction are disproportionately introspective and beta as well. Fiction is broadly the entertainment of weak men, and where authors interject hyper-masculinity alpha protagonists can also be found meek losers, e.g. Robert E. Howard.
Anecdotally, most of the contemporary children's entertainment I can recall consuming as a kid also featured similarly beta male leads: Doug, Hey Arnold, Spongebob, various Goosebumps characters, etc, and the one major exception was Johnny Bravo, a negative stereotype. Even internationally, Evangelion became a ground-breaking success in anime in the 90s with its extremely weak male lead Shinji, who has been recapitulated 100s of times since. This may very well, of course, be a part of a worldwide plot to promote male femininity onto impressionable youths by the Judeo-Bolshevik-owned mass media, but Harry Potter was far from unique in that for its time.
In the US, I can't think of that much media with strong alpha protagonists in general, particularly among stuff that would be considered children-friendly. Johnny Quest was pretty macho (and one of my favorites), but it was also exclusively about men and boys. Looney Toons had its various characters show their heterosexuality, but generally as a part of a gag that involved the use of a female character as a trap.
I think another explanation is that for most of humanity's existence, culture and politics were dominated by a tiny minority of men who excelled in most things, including trials of masculinity. Various liberal movements saw the eventual legal emancipation of those men, though nothing that can undo biology. Nations have always needed less capable men to labor in the fields, in the factories, and on the front lines. Propagation of the species demanded that they still eventually get married and have children, but usually enabled through the institutions of family and religion. Today, the fields are filled with non-citizens, the factories have moved to China, and the draft has been over for 50 years. Further, traditional family values have eroded and sexual emancipation allows women to seek out higher-status men, so these weak beta men, while still playing a vital part of male gender/sexual norms as defined by millions of years of mammalian biology, become a new market for artists like Rowling and Anno to exploit.