Accept your losses, learn from them
Frustration while losing

Chess is a game. It is absurd to be angry about a losing streak in a game. Have you been diagnosed with cancer? Has a loved one been diagnosed with dementia? If your answer to these questions is "no," you are a very spoiled person and you have no idea what "intense frustration and anger" is. Get a grip.
Whenever you lose a game, stop playing and analyse it thoroughly so as to learn from your mistakes. This channels the negative emotions of the loss towards a positive goal: improving.

What you need to do, is to stop the “play just another game” thought. Remember that chess is just a game (however beautiful and magical it might be), so unfortunate losses and bad performance streaks are unavoidable in it, just like any other sport. Give it a rest for a couple of days, and let your mind forget all the negative feelings and gain back the confidence once again. This time, believe me, when you manage to create a good position, you will slowly and sharply crush your opponent.
The idea is not to relieve anger and frustration,
but to channel those negative emotions towards a positive goal: improving.

How can one cope with experiencing intense frustration or anger on losing streak in chess ?
If you get too mad, you should probably stop playing. If you want to keep playing, playing a pattern recognition based bot. There are some available on lichess. The "lazybot" plays purely based on pattern recognition and does not calculate. You can learn a lot like you're playing against humans.
Beyond that learn to meditate. Meditation will help you keep your cool in these types of situations.

Depends on the game, usually when I get quickly demolished by someone far stronger than me or I fall for a clever trick/tactic I don't mind at all, I am happy to resign when there's no point continuing and then I jump on analysis. But hey when it's equal or I am doing better most of the game and then my opponent get's a lucky move he didn't even plan, or generally when it's very close I get angry as well. At that point it's better to stop playing and calm down. I personally if I continue playing angry I'll end up losing everything and being frustrated even more.

Yeah I mean the answer always is if you can't handle it stop. If your throat vein is popping out, that's not the moment you try to reframe your mindset. Like other people were giving good advice about that, use it to learn, know that it's because you weren't good enough, know that you will continue to get better. But in the moment that your vein is popping out of your neck, thinking about those things will only make you not believe them. And that is dangerous.
How can one cope with experiencing intense frustration or anger on losing streak in chess ?