Japan's ministry guidelines will require manufacturers to install a sufficient number of sensors to keep robots from running into people. Lighter or softer materials will be preferred, to further prevent injury.
Emergency shut-off buttons will also be required. Science fiction heroes in stories and movies have spent an inordinate amount of time trying to find the shut-off button for various out-of-control machines, so I hope that these buttons will be prominently placed for easy access by concerned humans.
People in Japan are particularly concerned about this problem, due to the accelerating efforts to create robots that will address the coming labor shortage in Japan's elder care industry.
Read this article from Live Science