It doesn't right now.
But neither does Bitcoin or LN.
All these custodial solutions aren't really "scaling Bitcoin" either they're just dodging the question.
Monero has the advantage of adapting with new scalability tech when necessary because the community isn't allergic to upgrades. It already cut down transactions size by ~80% with bulletproofs alone.
Your question also rests on many assumptions...That everything has to scale immediately (even when there is no demand for it). That billions are going to ever use Bitcoin or Monero in the first place. That technology isn't always improving. That efficiency gains wont be made. These things will scale over time.