WhatsApp doesn't provide an API so I could use it on my existing laptop over WiFi for free (the WhatsApp web requires it to be setup on a phone first).
But the phone doesn't have to be bought from Facebook, whereas with iMessage you have to pay Apple for a phone.
>maintain a phone line to use WhatsApp.
I wonder what the reason for this is. Maybe to reduce spam? Data collection?
maintaining a phone line doesn't cost hundreds of dollars a year
WhatsApp works reliably on a staggeringly broad list of devices. You can get a supported phone for, like, $20 and stick a $5-per-month prepaid SIM in it (many of these plans in low-income countries specifically come with WhatsApp allowances) and be connected.
This is like arguing that free Wi-Fi isn't "free" because some people only use ethernet. If you don't already own a compatible device, you aren't their customer anyway.
Apple consciously doesn't make the APIs for iMessage available.