The Thames is very clean now, especially compared with years gone by. They regulalry test the water for chemical pollution etc. Also, there are very few water side industries now so pollution is less likely.
I hope the creature gets back to sea safely.
It's a Northern Bottled-nosed Whale apparently.
OK! I have to confess! It was me taking a mad thank-god-it's-Friday swim.