All real estate photographers straighten their photos so that vertical lines are in fact 90° vertical or very close to it. This isn’t difficult to do. But not all photographers straighten horizontal lines that have been distorted by a wide-angle lens.
Straightening horizontals is a bit more difficult and may not always be entirely possible. Wide-angle lens distortion is a fact of physics.
There are no automatic, one-click solutions to fix crooked horizontals especially if only a portion of the photo needs to be corrected. Photoshop has its Adaptive Wide Angle Filter which can work miracles. Sometimes a photo can be separated into sections and each section corrected on its own using various transform tools. In the photo above, the picture was split into two sections where the dividing line was the edge of the glass wall.