Google at least is pretty strict about it for server-side software. You're going to be writing in C++, Java, Python, or Go (IIRC even Node.js is forbidden, though they may've relaxed that since I left). For client-side software you use whatever the native language is for the platform - that's Java (and apparently now Kotlin) for Android, Objective-C for iOS/Mac (I'd heard there was an effort to get Swift approved, but it was well after my time), and C# for Windows. Google has a fair number of proprietary languages I won't go into too - the big public one is Sawzall, but that's now deprecated in favor of Go. Some special projects can get special dispensation to use other languages (eg. there was a team that used Haskell while I was there, and a lot of the data scientists use R for prototyping their models), and you can generally use whatever you want for throwaway prototypes that run only on your machine, but you won't get any support from Google tooling if you use something that isn't one of the official languages.
IIUC most Apple teams write code for one of their hardware platforms, so they use the native languages supported by it - Objective C and Swift, with a fair amount of system-level C and C++ code too.
Amazon I've heard is more open; teams can use whatever they want, because everything is exposed through a big SOA anyway.
No idea about Facebook. They hired a bunch of ex-Googlers, so I'm guessing they largely copied the Google model but with different starting languages (eg. they started with PHP then evolved it through HipHop and Hack). Thrift supports a lot more languages than gRPC though, so that may indicate they allow more languages internally.