Alphabet Inc. closed decisively above a $2 trillion market capitalization for the first time on Friday, as a powerhouse earnings…