Alphabet Inc.'s Google, Oracle Corp., Amazon.com Inc., and Microsoft Corp. will share a $9 billion hybrid contract to provide secure cloud services for the Pentagon worldwide, the Department of Defense said Wednesday.