Tenured professors do sometimes take leaves of absence to work for a period with some company on a problem they think is interesting. And many do consulting on the side.
Tenured professor at an elite school certainly isn't a bad gig. But compensation isn't mostly at the senior engineer FAANG levels that people like to throw around. But then LOTS of jobs that people both enjoy and are useful to society aren't.
Tenured professors do sometimes take leaves of absence to work for a period with some company on a problem they think is interesting. And many do consulting on the side.
Tenured professor at an elite school certainly isn't a bad gig. But compensation isn't mostly at the senior engineer FAANG levels that people like to throw around. But then LOTS of jobs that people both enjoy and are useful to society aren't.