The five-time world player of the year has signed for Italian champions Juventus from Real Madrid, the La Liga club said in a statement.