SAP shares plunged after the German business-software group’s cloud backlog and sales guidance disappointed investors.