Corporations depend on consumers for their existence. The value they are trying to maximize depends on a functioning supply chain and global economy. So corporations can't outright kill all humans.
That symbiotic relationship and constraints aren't really present in an AI the way they are described.