Of course they can. Read your employment contract. It almost certainly can be assigned.
My employment contract says nothing about me needing to work at any company that Google decides I should work for.
It probably also lets you quit with short notice.
My employment contract says nothing about me needing to work at any company that Google decides I should work for.