Google is snapping up the remains of a dying smartphone maker to boost its own smartphone ambitions