To my ears, this is what the synth is playing. Dmaj7 Emaj9 D#min7 E|----------- B|--7--7--7-- G|--6--8--6-- D|--7--6--8-- A|--5--7--6-- E|----------- It's arpeggiated and has some filters on it, so it's a little hard to tell what's being played, but this sounds just about right (it doesn't quite sound like the E chord I have written down, but it sounds good enough that it works).
Source: https://tabs.ultimate-guitar.com/tab/tame_impala/gossip_chords_1763795