Running shoes could soon have sensors that collect data on foot and leg motion, which could help runners improve their technique and avoid injuries.