This is actually completely wrong. Almost no laptops sustain their top (boost) clock on heavy workloads. Most usually only sustain max performance for minutes (or seconds!) before throttling. Here's an example chart that shows how various premium Athena/Evo U laptops perform: https://www.notebookcheck.net/Asus-Zenbook-S-UX393JA-Laptop-...
On the workstation side, people complain about Macbooks, but recent MBPs actually throttle their Intel H processors less than a comparable XPS 15 for example: https://www.notebookcheck.net/Apple-MacBook-Pro-15-2019-in-r...
If you are interested in how modern Intel laptop chips throttle and what base and boost clocks mean, you want to do a search for PL1, PL2, and Tau. For AMD chips, you will want to look up STAPM, Fast and Slow PPT.
Note that while a i7-10875H's top "boost" clock is 5.1GHz, the sustained "base" clock is only 2.3GHz. This is so low to be meaningless as a top speed. In practice, unless your laptop's cooling is absolutely terrible, you'll probably end up mostly running in the 3-3.5GHz range under full load. In comparison, on a properly cooled desktop system, a same-gen i9-10900K desktop system should be able to maintain a sustained (all-the-time) clock of about 5GHz (very close to its 5.3GHz boost). AMD chips scale a little bit better due to 7nm having better power efficiency and how PPT works, but the same ratio roughly applies.