Shakira's appearance followed shows by Lady Gaga and Madonna, who have also performed on Copacabana beach in previous years.