Piano is not an aerophone.
Aerophones produce sound by vibrating air columns: flute, clarinet, trumpet, saxophone, organ, harmonica, didgeridoo.
The piano produces sound by hammers striking strings—making it a chordophone (string instrument), specifically a struck chordophone (Hornbostel-Sachs 314.122-4-8).
Other non-aerophones: violin (bowed chordophone), guitar (plucked chordophone), drum (membranophone), xylophone (idiophone).