Jus over time you will find merit in comparing similar companies to each other as it actually does assist in determining value.
The market is a strange beast and you are right in saying that some companies are valued at market caps 3 times higher than some others even before they have made any revenue or at times before they have even drilled a hole in the ground.