Mercedes has announced it has ended its Formula 1 sponsorship deal with Kingspan with immediate effect after facing backlash last week.