Charter school advocate Betsy Devos was sworn in as US Education Secretary hours after winning an unprecedented Senate vote.