Smart move for Cruz. Trump will not last, the establishment is gunning for him....and when he goes down, Cruz should be on the ready to fill the vacuum he leaves.
Unless something very unforeseen occurs, Trump will not be going down.
OTOH, Cruz isn't moving the needle significantly. By year's end if Trump is still on top, Cruz should make a deal (if he hasn't already). We need both of them.