First is that there are magical prosthetics out there, they may be somewhat pricy and hard to find but they do exist. Although I could never find one for a griffin, I just presume it's not a common thing in Equestria because the population is by far mostly ponies.