Don't forget the tax breaks Google got from Motorola as well
http://www.theregister.co.uk/2014/01/30/google_motorola_mobility_lenovo_sale/
http://www.theregister.co.uk/2011/09/01/google_buys_tax_breaks_along_with_mobility/
And Forbes thinks its only $1.5 Billion http://www.forbes.com/sites/timworstall/2012/12/22/did-motorola-mobility-only-cost-google-1-5-billion/ if so Google made a nice profit and got a load of patents as well.