Shares hit a record high on Monday, making Alphabet the fourth company ever to pass a $4 trillion market capitalization.