I wonder if he was using a Bluetooth keyboard. I've had to restart the Bluetooth module on my M1 a few times to stop this from happening.
Although in my case it might have been a specific Language Server Protocol (LSP) package I was using that was consuming 100%+ of my CPU (they fixed it).
Used to have an issue where my bluetooth headphones would annoyingly hiccup every minute or so while listening to music.