Similarly to Ubuntu and Canonical. Nokia sponsors and contributes to Maemo (like Canonical). And Nokia makes money by selling equipment and services (like now). (it's just an Idea)