Text this: Collaborative Robots with Cognitive Capabilities for Industry 4.0 and Beyond