We (humans) have been genetically modifying our plant and animal foods, through selective breeding for thousands of years. Basically since we decided to live in cities and start growing crops instead of foraging for what grows wild.
Your fruit went bad most likely because it's been sitting around the store you purchased it for a long time - or on a truck or loading dock. Or in the back of the store where it wasn't refrigerated.