Google has bought parts of another HTC division, coming years after the company acquired most of HTC's mobile unit.