تَأْدِيبًا is the verbal noun of أَدَّبَ. The expressed verb in the sentence, however, is ضَرَبَ.
The verbal noun explains the purpose of that act and functions as mafʿūl lahu in the author’s analysis.
A word’s morphological type (verbal noun) and its syntactic function (reason complement) are different questions.