Meta Platforms is all set to lay off about 8,000 employees to ramp up spending on artificial intelligence. The move reflects a broader shift across the tech industry, where companies are redirecting investments toward AI development.