Nick Kyrgios has been dropped from Australia's Davis Cup team.