Google lays off hundreds in hardware, augmented reality and Assistant divisions