White House communications director Anthony Scaramucci is out of the job after less than 10 days in the post.