Kubrick once said "Ideas are a trap. You need a story." I agree.
Also, I can think of three occasions where a case of great-minds-think-alike meant I had the same idea as someone else.
When I was a student, I made a short film that had the same premise as Minority Report. I didn't realise, as I hadn't read Philip K Dick's story (and the Spielberg film hadn't been made at that point).
More annoyingly, I had the same idea as the one in The Purge (albeit in a slightly different context) ten years before that film came out, and I had written a feature screenplay for it.
More recently still, I wrote a short story about a corrupt televangelist who gets blackmailed. Then I saw The Royal Gemstones, and they had a similar idea in the opening episode.
Still, I don't mind. The ideas were well-executed (especially Spielberg's execution of Minority Report).