Alphabet Inc.’s Google is laying off hundreds of people working on its digital assistant, hardware and engineering teams as part of a continued effort to lower costs and focus on artificial ...