They pay that much because it's very difficult to find local employees to work for McDonalds, you can hire hordes of great developers for half that salary in India or LATAM.
Oh yeah? they pay US$20 an hour at a local fast food equivalent in India?
McDonald's is location dependent. The people you hire actually have to be able to show up