Elon Musk has been accused of sexual harassment by a former employee at SpaceX. The world's richest man has denied the allegations.