wide angle lens
shoot in daylight if possible
use HDR as mentioned to equalize the interior and exterior lighting differences
but those examples you posted are not bad. You just need a wider angle lens or shoot multiple shots and stitch them in software