Shea Langeliers hit a walk-off RBI double in the ninth inning, Jacob Wilson drove in three runs and the Athletics beat the Kansas City Royals 4-3.