A US senator has hit back at Elon Musk, saying the billionaire Trump adviser is "not a serious guy" after he branded the politician a "traitor" for visiting Ukraine.