They arrived at about the same time. They used the same CPU. They both had (approximately) 800x480 screens, which at the time was flagship class. They both used slide-out keyboards, removable batteries, a 5MP camera, 256MB of RAM, and some on-board storage plus a microSD slot. They weighed within 20g of each other.
The N900 had a resistive touchscreen, the Droid was capacitative. Both had an official price of $600-650, but would actually be sold for $200-250 when bought with a 2 year carrier plan (that was the norm back then).
Maemo had a small developer community. Android had a medium-sized dev community. Android had marketing -- for about 2 years, people were calling all Android phones "Droids". Maemo had none.