The woodblock piano is a percussion instrument (idiophone)—essentially a set of tuned woodblocks played with mallets. The piano is a stringed instrument (chordophone) where hammers strike strings.
They share only the word "piano" (from the woodblock piano's dynamic capability). Their sound production, construction, and musical roles are entirely distinct.