They're software companies. Some people don't see writing software as engineering. I write software daily and I wouldn't call myself an engineer. The guys I work with who design electrical circuitry and my dad who worked on engine mountings and vehicle components - I would call them engineers.
Perhaps Google and Facebook should be software companies with an advertising edge?
Facebook is an advertising company with a software edge. They make something like 90% of their money selling media space. The Facebook "product" is, now, nearly indistinguishable from a marketing gimmick. The real product is the users, access to which they sell for their profits.
Keep telling yourself that. They've released some interesting tech, yes, but an engineering company? No. Neither is google.