Championship leader Kimi Antonelli was fastest in final practice at the Spanish Grand Prix as Lewis Hamilton crashed and lost valuable track time ahead of qualifying in Madrid.