This was the Leftovers version of John Locke's drug-induced vision in Lost, where ghost Boone guides Locke around Sydney airport and helps him understand his purpose. It didn't actually happen, it's just a messed up vision caused by whatever drug he was given.