If you compare the image of the piece of wreckage found with a schematic of the flaperon from the 777 you can see that even while the PCU attachment point looks destroyed on the wreckage (corrosion or from tearing) the same “box” figure looks present in both images. The 777 flaperon is unique to that aircraft.