I owned both of those phones and they were great, along with many many other Moto phones. I think the Z4 might be great also, or at least really good. As others have stated..true "flagship" phones aren't selling really good right now for anyone. But the $500 and under range is selling great. Moto recognizes that, so why make a "flagship" > $700 + phone? As others have posted they are selling great in Latin America and India. They are finally profitable under Lenovo, so why change the business model that is working.
I hope this trend in "flagship" phones not selling well for anyone (even the mighty Samsung) forces all manufacturers to reconsider their pricing and stop the price increases year after year. Who the heck needs to spend $1000 or more on a phone? A phone?