Analysts see investment opportunities in makers of components, defense technology and critical minerals that will be vital to the future of robotics.