Which investment is less risky?

Is a fix-and-flip less risky than investing in a rental property? Or is the other way around a safer bet? Here’s an interesting look at which type of investment carries the least risk: