A newborn baby's body was discovered inside a bin in Sydney's west, prompting a police investigation.