STOCKHOLM—Verizon Communications on Thursday signed a deal with Alphabet Inc.’s Google Cloud to use its 5G network and the tech firm’s computing power to offer services such as autonomous robots and smart factories. Telecom companies have been partnering with technology firms to automate businesses and factories to lower costs and speed up data traffic through…