Salvador Perez and Jac Caglianone had RBIs in the ninth to send the game to extra innings and Lane Thomas hit a walk-off homer to help the Kansas City Royals beat the Los Angeles Angels 11-9.