You could use something like:
$model1->attr = $model2->otherAttr = "String";

To achieve this you should override the setOtherAttr method of $model2 and let it return the value it just set.
Or, for a more generic approach, you could override the __set method something like this: