Around 2015, I read an article saying that computer science was the most popular major for Harvard undergraduates. I found it quite surprising. I would think that a Harvard student could basically do anything with their life that they want: medicine, law, business, politics, anything they set their minds to.
Why, I wondered, would they want to enter this strange industry with all our odd characters and personalities? To me it's like, this is a place where you're going to compete to fix or improve something in the Linux kernel in order for Linus to swear at you and publicly humiliate you in an immutable ledger called the LKML. (Welcome to tech!) Even now, I don't really understand how this could have become the most popular major at Harvard.
I think things will sort themselves out in time. A person might start a career with little inherent interest but stumble into something that excites them and excel at it. Or a person might work in technology for a while, decide it's not right for them, and move on to something else. We'll have to see where it goes.