I've been wondering about that myself, but then it's occured to me that there are very poor countries where kids simply don't have access to no computers at all. The appeal of Pi in this situation is that you can program and prototype on the thing, and it's relatively affordable (well, at least it is supposed to be). For ESPs you'd need a separate device to write and upload the code.