Pinterest commits up to $4 billion to AWS through 2031 for AI-powered visual search and personalization for 600M+ users.