Owning a racehorse is probably the most expensive way of getting on to a racecourse for nothing.