I think flying is especially attractive to people in tech because it is cognitively demanding (flight planning, comms, instrument work) but also requires a lot of physical coordination and prediction (landing, stall recovery, maneuvers) that working in front of a computer doesn’t help you develop.
It also requires you to develop a certain level of personal responsibility and good decision making to fly safely. This positively impacts the management of a team/company.