Canadian rapper Drake has withdrawn his legal petition against music streaming giant Spotify and Universal Music Group (UMG).