Nokia and Research in Motion needed a modern operating system. They could have bought Palm or Android before Google did, but they didn't. Today, it's probably too late, and at the time they would have been criticized for overpaying, but as they say - shift happens.
Marc AndreessenRule 1: All rules can be broken. Many (ex-legal and ethical) should be. Most people won't.
Marc Andreessen