I'd like to see the development of these on a timeline, including the rise of power tools. I suspect that hex, torx, and similar are only feasible due to torque-control being available on modern driving tools; prior to that the screw had to be able to disengage (cam out) to prevent it breaking.
This touches on what you're talking about. If you have the time the entire video's a gem of history screw history touching on Nails going into screw coatings, drives, etc.
You might enjoy this article from about 6 months ago (as I did). It doesn't get into torx or hex drives, but covers quite a bit of history of Phillips-like drives.