The Giants rallied late and beat the Cubs 6-1 as Kris Bryant returned to Wrigley Field.