A's waste late lead to Royals, lead over Tampa Bay down to 1