In "that's, like, your opinion", "like" is an interjection, you can take it out and not change the meaning: "That's your opinion".
In "investors were like, you need to grow", you're semi-quoting someone, and can't take it out: "investors were you need to grow".