Do you think the top tier models can write an engine to beat Stockfish? I do.
They probably can, but not the consumer models that have limited context window.
Some special deployment with really large context window likely could do it, but
also I'm not sure if it can do it without human involvement, it will likely need human guiding them through all stages so randomness factor doesn't lead LLM onto false path. Note that this specific
test (writing chess engine) has been executed a lot in the past year with consumer models and humans guiding them, and the results are not what you stated (e.g.
https://yev.bar/can-ai-beat-stockfish)
Your link is comparing programming languages like Python and PHP, and its a year old. I think we've gotten away from the point.
For any task which is useful (or harmful), you (or the bad guy) wouldn't restrict yourself to a chat-only LLM. You or the bad guy would let the LLM use and/or build tools.