The communist governments of China and Cuba issued statements on Thursday and Friday denying a report in the Wall Street Journal, citing anonymous sources, that the Castro regime had agreed to allow Beijing to install a secret “spy base” on the island.