Two children and three adults were rescued from the powerful waves that battered the coastline in Palm Beach, a lifeguard said.