Erling Haaland scored on his Manchester City debut in a lightning-interrupted win over Bayern Munich at Green Bay.