As I understand it there are some closed source Google apps that cell carriers or manufacturers can license. They also make money from mobile advertising. It's similar to RedHat in the sense that they make their money on services related to the product they give away for free.