This is extremely rare and enough case law exists that you would be able to sue them for doing so. It looks extremely nefarious in court and is a bigger headache than it’s worth.
I’ve never heard of this happening successfully. What you’re probably asking is “how can they screw me?” And the answer is if they terminate you before youre vested. That’s why as an early employee you want to negotiate some type of accelerated vesting schedule.