I think passion comes into play here. You've got to have at least some amount of drive beyond "clock in at 9 and leave at 5 sharp to collect a paycheck" to get into these top tech companies.
Even if at the end of the day, it's still a job, I don't think you can get into these companies unless you dedicate a way-above-average amount of time and effort to do so.
Ignore all of the above if you are a natural leetcode wizard; yes I know there are some people like that.