The Hellschreiber teleprinter, used by the German military for telecommunications in the 1930s. Due to its pixel-based font, it performed better than the typewriter-based technologies at the time.
The strange machine photo is a receiver. You can see the “mechanical font memory” in action here. Also, listen to the transmission sounds here.
This system is still being used by some radio amateurs.