 Shares of Sleep Number Corp. were getting pummeled in late trading Wednesday after the maker of smart beds slashed its earnings forecast as it deals with the twin challenges of historically low consumer sentiment and chip-related supply-chain issues. 