The smell is telling you that the meat is rotting and needs to be destroyed. But meat that is fresh and has no bad odour can be contaminated. You cannot use smell to tell if meat is contaminated or not.
We don't eat raw chicken, even if it's very fresh, because of the risk of food poisoning from things like campylobacter.
You need to be careful with cooked then chilled rice because of the risk of bacillus cereus. It won't smell bad. It can be an unpleasant food poisoning.
I assume this is why chicken is usually overcooked in restaurants.
https://www.foodsafetynews.com/2019/11/study-reviews-campylo...
> Rise in eating raw chicken meat and liver
> Between 1997 and 2018, the number of incidents and patients varied from 257 to 645, and from 1,551 to 3,439, respectively. One large outbreak involved 875 patients and was traced to sushi topped with raw or undercooked chicken at outdoor events in Metropolitan Tokyo and Fukuoka Prefecture in 2016.
> Epidemiological investigations of Campylobacter infections have shown that chicken meat products are the most important source of infection. Consumption of raw chicken meat and liver is not common but has been increasing.
AFAIK if meat products start smelling, especially ammonium, then it's time to ditch it.