Oracle layoffs shock thousands globally as the company's AI spending surges, with Indians being the worst hit.