They've been cherishing that child as their own.

Literal

They [topic-は] that child [object-を] own children [as-として] have-been-doting-on.

自分たちの子として means 'as their own children.' かわいがってきた uses ~てくる for an action continuing up to the present. かわいがる means 'to dote on, treat lovingly.'