Sell, but be sure you get paid in cash.
Shares (or even worse, options) are much harder to predict the future value of, based on when you can sell them. Your business is worth real cash to them today in terms of smaller hardware investments and power savings. If they want to pay you in some exotic fashion, insist on cash. If they say that they can't or won't, tell them they are full of shit and walk out. You will find a better deal.
If they offer you shares or options as part of an additional employment deal, that is fine. Employment is a different matter and shares (especially options) are a good way to ensure you have some skin in the game and with vesting terms, that you will feel the pain if you leave.