Java vs. Kotlin is a different matter. It's still an open question if C++ even could match Rust's features, not to say if it (the committee) wants to, and the answer seems to be "no".
If you mean things that formally create a data race, then C++ cannot do that either.
Rust can literally do anything programmatically. Idk why you think it cannot do something.