Complex sentence: However, it is the humans and not the robots who make themselves redundant, and during the end credits humans and robots are shown working alongside each other to renew the Earth.
Split into simpler sentences: However, it is the humans and not the robots who make themselves redundant. During the end credits humans and robots are shown working alongside each other to renew the Earth.