Oscar Piastri has lost his points finish in the Mexican Grand Prix after the stewards penalised him for a collision.