MissingNo. wasn't intentionally created by the developers. It's a glitch that occurs in the original Pokémon games when the game reads data from a buffer that doesn't correspond to a real Pokémon.
The result is the famous glitch creature. It became a piece of gaming legend precisely because it was an unintended quirk rather than a planned feature.