Self-cleaning litter box

A self-cleaning litter box seems to take the chore out of cleaning the litter tray. How does such a litter box work and what’s behind the promise of self-cleaning?