Chests will appear when you have correctly matched Simon's Rhythm challenge and the reels do not match a payline. The chest will appear and award you with XP or credits. 

The amount of XP or credits awarded from a chest is dependent upon the current Mastery level for the machine you are playing. The higher your Mastery level, the more XP or credits you will receive each time from the chests.