Firstly - factory warranty is three years...
The rest (bearing in mind mine is an E83):
I've gone with BMW as it includes a decent Euro recovery cover as well as the other warranty benefits.
You'll get a letter when the warranty expires with all the details to get an on-line quote.
No you don't get money back if you sell before the end, unless I suppose you're paying monthly and just stop paying?