Slot machines aren't designed to cheat players. Each slot game, whether online or in a land-based casino, is programmed to payout out at a specific rate.
Most online casinos have excellent security measures in place to prevent this sort of thing, but we assume it’s possible to cheat an online casino this way.