Look how Hamilton waited to take a clean drs overtake and how much room he gave rather than dive straight up the inside at the first opportunity. He wouldn't have been so careful around a Vettel or Alonso he trusted to race fairly.
I've seen so many people say this, he had multiple laps and it's a terrible track for overtaking. Outside of turn 1, 2, and 3 and 4 if you have a car advantage, no one overtakes anywhere else unless it's wet. Hamilton would have waited to pass on the straight in those conditions against every single driver on the grid, bar none.
Multiple drivers were waiting for the straight despite a huge car or tire advantage throughout the race. Cars with a 2-3 second pace advantage weren't driving around the outside in the final sector even though they could, but chose to wait for the straight where the backmarkers also preferred being overtaken as they lost less time.
The idea Hamilton waited for the straight because he was worried Max would hit him is absolutely absurd. As for Ricciardo leaving because his team mate might drive into him, throughout the previous two seasons they very rarely occupied the same piece of track and the team didn't blame Ricciardo for Baku or absolve Max of blame, the sole thing that Ricciardo claimed was that the team asked him not to blame Max to the media, nothing more or less. But for the most part Ricciardo simply didn't have Max's pace and was rarely fighting on the same piece of track.
Also you're describing Ricciardo, a guy who has been dive bombing people so late that multiple drivers were driving off track to avoid him and he knew that drivers knew he would make stupid late moves and get out of the way rather than have their races ruined. The idea that Ricciardo left because Max would hit him rather than let him pass when Ricciardo's spent the last 5 years using that exact tactic on everyone else and that he was almost never able to come close to Max's pace is, well, silly.