Brazil's air force has launched an investigation into the incident, which took place over Rio de Janeiro.