Nick Kyrgios says he is “very thankful” to Andy Murray for helping him with his mental health struggles.