Shares declined Thursday as Google’s staggering $185 billion capital-expenditure forecast overshadowed a blowout fourth quarter.