Japan's most decorated Winter Olympian announced her retirement at 31 immediately after winning a bronze medal in Milan.