Facebook/meta uses mySQL, but with a completely different engine (myrocks) and sharding techniques.
YouTube uses mySQL but they've also rewritten major portions for scalability. (Vitess)
Just because a company is using a technology you've heard of doesn't mean it's what you expect.