It is because the base components (case, frame, many action parts) were built of such quality so they CAN be rebuilt. There is no conspiracy by the piano industry.
On any piano, hammers, strings, dampers etc only last so long. On lesser quality instruments, once those parts wear out, the rest of the piano is ready for the junk yard too.