Quoting from Wikipedia
Yubitsume ("finger shortening") is a Japanese ritual to atone for offenses to another, a way to be punished or to show sincere apology and remorse to another, by means of amputating portions of one's own little finger. In modern times, it is primarily performed by the yakuza, one of the most prominent Japanese criminal organizations.
Takeshi Kido traded his life for his son to the Yakuza. As he is now under Yakuza he must sworeswear allegiance. Since Kido had disrespected the Yakuza when he was Chief Inspector, to make up with itatone for his actions he performs Yubitsume.