Why a human shaped robot? Well.......
There are lots of use cases (often in food/drink preparation/dispensing or general "housekeeping") which could be automated out without a humanoid robot being needed. The UK has had automated (self cleaning) public toilets for decades, why not such a thing applied to a hotel room for example?
There are IMHO view 2 reasons they are not.
1) Because each one requires a serious development budget and will need the operator to front some serious cash (and commitment because if you want to go this way it's likely to need a ground-up build approach) for the hardware (and it's inevitable support contract) but will capture only a relatively niche market having done so. And then the competition will start to move in.
A company could be built around doing this in one sector, then using the lessons learnt to expand into other sectors (possibly with some reuse of subsystems. Standardised pneumatics? Hydraulics using edible oil? Well tuned algorithms to recognize tables, chairs and wall/skirting board/floor transitions so they can tell when someone is occupying them or furniture has been moved?)
2) The people who usually get into these businesses recognise part of why people go out is the experience of going out, and the closer that comes to a)Place an order on the "Just Eat"* app b)Await arrival c)Open boxes and nosh down the more people will say "F**k it let's just stay in." Or even just stick the burger box in the microwave and DIY entirely. Which let's be honest is some peoples idea of "cooking" already.
OTOH a machine that can fit into these environments and can be customised to them, looking like (for exampled) Big Hero 6 in a McDonalds-style fast food restaurant or something more somber in a Michelin starred restaurant (but basically the same internals). BTW there are some interesting lessons from the nuclear industry, where you get semi robot/manipulators. Some times under direct human control, some times running recorded sequences (with an option to run sped up/slowed down, which can be very useful). Interacting with humans I tend to think of them as avatars of their operators,
Mind you one thing will never change. Whatever Musk's timeframe is double it.
*Other food ordering platforms are available