Elon NEVER slept on the factory floor, that was just a PR stunt, done with props and a camera to fool you regular joes into think he work hard for his BILLIONS of dollars. In reality he works a mere 3 hours a week, split between 1 hour at SpaceX, 1 hour at X (formerly known as twitter) and 1 hour at Tesla. He does a lot of delegating, for example if he wanted to wash the dishes, a normal person might take 15 minutes to do it all, Elon just says "Go wash the dishes now" and that takes 2 seconds to speak it and 15 minutes later the dishes are done! So as you can imagine, Elon can get a lot done in an hour. When you are a billionaire like him, you can afford to pay people to make you even more money.
The real work that he does is in the bedroom that is attached to his office in the Tesla factory. A normal man has 168 hours a week, and Elon sleeps 6 hours a night, so that leaves 126 hours, 3 of those hours are for work, that leaves him with 123 hours a week. He takes his food in pill form, so he doesn't waste time cooking and eating, allowing him the full 123 hours a week for sex, and he also always does outcalls, so he doesn't waste time travelling to the spas and condos to see sex workers.