Beijing and Taipei have spoken out after Tesla chief executive Elon Musk said Taiwan should become a special administrative zone of China.