Google is laying off hundreds of people working on its digital assistant, hardware and engineering teams in an effort to…