Someone else who's following the game feeds the moves into a computer and signals the player their next move.
They had a casino ring years ago that used a radio transmitter to trigger a vibrating circuit in a player's shoe. It would be even easier nowadays with wi-fi and cellular devices.
Niemann has long thick curly hair too, and could easily wear a small earpiece if there’s no “inspection process” prior to the match.