R. Akiva says: "the ox shall be stoned, and its owner, too, shall die." The death of the owner is being likened to the death of the ox, viz.: Just as the death of the owner (requires a beth-din of) twenty-three, so, the death of the ox.
Rabbi Akiva Found a Striking Legal Principle Hidden Inside a Single
Mekhilta Tractate Nezikin 10:27