Ferrari's Carlos Sainz made contact with McLaren's Daniel Ricciardo after attempting a move around the outside of the Australian.