American plans to invest in a budget airline based in Chile