Sundar Pichai inherited a search-and-ads business and spent a decade betting billions on AI, cloud, and autonomous vehicles while antitrust regulators closed in. Whether that gamble rewarded patient shareholders depends on exactly when they bought and whether they held through some brutal swings.