Lance Stroll and Fernando Alonso will remain at Aston Martin through 2027, while Esteban Ocon's departure from Haas leaves his Formula One future uncertain.