) for $4.8 billion, confirming months of speculation it would become the owner of the venerable Internet company.