PC sales have been anemic for years following a buying frenzy toward the beginning of the pandemic. Dell and peers HP Inc.