In sports betting you are betting against the house. If the sportsbook sets a bad line, you can lock it in and make money off of it.
Horse racing is what you describe, parimutuel, where the house just takes a commission. But the odds shift even after you place your bet. Very different for traditional sports betting.