Not sure how this oversight happened, but there currently not an oiiotool command that extracts a thumbnail from an image. That would be handy.
For that matter, oiiotool also doesn't make it easy to create or add a thumbnail and save the resulting image. That is trickier, though, requires a bit more design maybe.