Putting Robin aside, I would definitely not risk a significant fraction of my salary cap on a player that I know up front is such a big injury risk as Brook Lopez.
The Brooklyn Nets are a horrible disaster for three reasons. (1) They paid Deron Williams the max and he fell apart, (2) they paid Brook Lopez the max and he's never healthy, and (3) they traded away every pick they could for elderly stars.
I would not like to repeat ANY of the Nets mistakes.