Alphabet's second-quarter revenue rose 24% year over year, up from 14% growth in the year-ago quarter. Surging capital spending swung free cash flow to a negative $5.9 billion in the second quarter.