Oh I thought this was well known?
Porn and other sex industry activities have been the driver of new technologies for centuries. It's very frequent for them to effectively fund the new technology.
IIRC sexual images were one of the early uses of photography, and heavily subsidised the more polite side of professional photography studios and technical developments in photography.
Pornography was an early use of the internet and www at all stages.
Wikipedia was developed by Jimmy Wales using the funding from his online pornography business.
https://en.wikipedia.org/wiki/Jimmy_Wales
I'm sure I've previously come up with many more examples from across the centuries, which I now can't remember. Perhaps some were in medicine and chemistry, during the era of rampant STDs and high levels of prostitution.
Of course the official histories of the technologies often miss this out. Sex-related uses are often "under the counter" even at the time they're happening, and by the date the histories are being written tend to be even more thickly glossed over for politeness' sake or forgotten entirely.
Can't remember if there are already academic studies of this, but if not there should be!