Sci fi in black and white

Cientists build a super computer on the moon to control the weather on Earth. The plot twist is that the super computer begins “thinking for itself” and starts controlling the weather in order to eliminate the “virus” that is destroying the Earth: the human race! Maybe it has a remake from a few years ago. Thank you in advance.