Elon Musk lost a legal fight over unpaid severance to a former Twitter employee who was laid off when he took over the social media platform in 2022, according to a memo obtained by Bloomberg News.