Defeated presidential candidate Flávio Bolsonaro has left Brazil for the United States following a stunning loss to incumbent President Luiz Inácio Lula da Silva.