Austin Slater hit a walk-off double in the bottom of the 10th inning to give the Giants a wild Opening Day victory over the Marlins.