McLaren team-mates Lando Norris and Oscar Piastri almost collided during P2 at the Hungarian Grand Prix.