The World Series champion San Francisco Giants were eliminated from wild-card contention Friday night, falling to Sonny Gray and the Oakland Athletics 5-4.