According to Shigeru Miyamoto, once Nintendo had finished developing Twilight Princess, the team decided to have fun with the game and put Miis across Hyrule. It was their way of relaxing once the project was done.
Contributed by DidYouKnowGaming