> How are the employer's and employee's interests aligned exactly?

Well, if you're a tech employee you get paid in your employer's stock. But if they were entirely opposed you wouldn't be working for them, or you'd be a contractor and not salaried.