Alphabet Inc. won praise on multiple fronts Wednesday, as the digital-advertising giant delivered upbeat financial results and announced a stock split that could make its stock more accessible to investors.