Haruhi Fujioka never transforms into a beetle (or any insect) in the Ouran High School Host Club manga or anime. The series contains no such metamorphosis. You may be confusing it with another series (e.g., Kafka on the Shore, JoJo's Bizarre Adventure).