Sleipnir was an unplanned accident, resulting from Loki transforming into a horse to seduce a giant's workhorse to prevent the giant from winning a bet with the gods. Loki only meant to distract it, but as often happened when Loki was involved, things got out of hand.