Why do they want to buy HTC? Are there some significant patents they are holding?
As other said, they are after the VR stuff, and any sale will contain that bit. They will let phones run a bit, then either sell it at a bargain to other manufacturer ( Lenovo? ) or let it slowly ( or abruptly) die.
[1] the other Motorola is doing just fine. https://www.motorolasolutions.com/
Also, note that now they have the Pixel instead of the Nexus line, which is supposedly in house designed by currently isn't.