You are so wrong. Juve did buy Morata and he signed a 5 year contract but Real had a buy back option of 30 mil. And after leave Real for Chelsea, he said
" I should not have left Juventus, Real Madrid treated me like a child"
Yes, that is true. I was wrong in saying that he was loaned out. I meant to say that even though he did sign a permanent deal with Juventus, Real still had a buy-back option for the next two seasons. And they exercised their right in Morata's 2nd season with Juventus but only to sell him to Chelsea for a bigger fee.