Global Shares Retreat as S&P 500 Faces Weekly Loss Amid Energy Cost Surge