Billionaire Elon Musk is thought to be behind an email to all federal employees giving them the opportunity to resign as part of an effort to trim the government.