SAN FRANCISCO—An Italian company’s hacking tools were used to spy on Apple Inc. and Android smartphones in Italy and Kazakhstan, Alphabet Inc.’s Google said in a report on Thursday. Milan-based RCS Lab, whose website claims European law enforcement agencies as clients, developed tools to spy on private messages and contacts of the targeted devices, the…