Interesting link, thanks for sharing. I read it and I think there's some miscommunication going on. The author is criticizing Sal Khan and like for suggesting that there was a deliberate, cohesive factory model (designed in order to..) whereas the commenter recounting Foucault here talks about the effects of the model, not its intention (designed in a way that...)
Indeed there is no mention of Foucault in that article. I read through her blog more and this is the first one I found that mentions the book in question http://hackeducation.com/2020/07/20/surveillance (also an interesting read)