Samsung is facing an uphill battle against the looming Apple iPhone 12 and Google Pixel 5.