Mac's are no better than PC's hardware wise. As a matter of fact, PC's are much more flexible, easy to repair if there's ever a problem. I can swap out a hard drive in less than 2 minutes. Try doing that on an iMac or a Mac Mini. What if your Power Supply, or any other component goes on an iMac? I'll bet it cost a fortune to replace any part if it's out of warranty.
That said, it all depends on your needs. I own both. Sometimes I prefer my PC, sometimes my Mac's.
I forget to mention, I've been building my own PC's since the early 90's. Yes I've own a few Dell's over the years, and believe it of not, they've been dead reliable.