A man in his 30s is believed to have suffered critical injuries in a shark attack off the Western Australian coast.