That's not the point though. Leetcode can't figure out if you're able to do the work today. I think FAANG believes it can figure out whether they'll be able to train you to do the work.
I view it as a way to apply a somewhat relevant filter to a large pool of candidates. It's something coding related with simple appeals such as scalability which makes every engineer quiver at the knees.