Brazil's Flávio Bolsonaro said he would work with the US and China if he becomes president, following a surprise election performance that positions him to join a wave of conservative leaders pushing Latin America closer to Washington.