I think they rely a lot on users reporting channels that are viewbotting. It is usually pretty easy to spot even for a human. You'll notice a channel that is for some reason pretty popular despite being some unknown person. You go check out the streamer and often times in these cases there is very little activity going on in the channel itself. Not many people chatting. This is odd if a stream had a lot of viewers.
It is hard to punish a channel for viewbotting though because you usually can't prove they hired the company to view bot for them. Because someone else could easily try to get a channel in trouble that way by view botting someone else.