Meta Lays Off Thousands as Tech Giant Struggles to Adapt to Changing Market