Yes it’s sustainable — I remember reading somewhere that Apple could pay every employee almost a million dollars per year and still make a profit. You can do the math yourself, and you will be further blown away by just how wealthy our country and tech industry is.
As to how our companies make so much money? I’m sure it’s very complicated, but just look at the US economy and contrast it to more socialist economies as seen in Europe. The US economy is far from perfect, but for better or for worse, it’s very prosperous.