The enormous wealth generated by Anthropic and OpenAI is overshadowing layoffs and an uncertain job market in the city.