A baby boy born with two heads has died after his parents took him home because they could not afford his medical care.