Google is still thriving while the company navigates through a pivotal shift to artificial intelligence and battles regulators trying to topple its internet empire.