“...conscious ...”
I can’t imagine anyone - except someone really unscrupulous, and Harrison did NOT strike me that way - intentionally doing that when it’s so easy to prove.
As a musician myself, I’ve written songs and later scrapped the music because it sounded too much like something else.
That's almost exactly what Lennon said except he acknowledged it was almost certainly conscious. He said he couldn't understand why Harrison did it given that it was so obvious and would be so easy to prove. He said all he would have had to do was make a few easy changes and he would have had no problems. Read Lennon's last interview in Playboy, that's where he talks about it.