In one acquisition, Facebook beat out Google to become Silicon Valley’s top dealmaker