The AI lab is scaling its ads business while aiming to challenge Anthropic on enterprise dollars.