Sensors too. E.g. force sensors are important for dexterous manipulation and safety. But they are all expensive, bulky, imprecise, or require constant recalibration, or all of the former.
Our robotics Prof used to quote his industry peers: "The best sensor is no sensor."
Have to disagree with this. The major limiting factor is the software and lack of applications. If there was a killer application it would be much easier to sell. Then the numbers would drive the prices down.
For a useful robot arm, you need high forces/torques. Usually, this is achieved by high ratio [1] gearboxes between the motor and the joint. Those are expensive, and inefficient and make estimating the output force via the motor current almost impossible.