Hello Vaifiefaick23
Welcome to the SBB Community.
Kindly note, we are a customer support forum run by volunteers, not the SBB Customer Service.
Swiss public transport companies are not obliged to compensate for any taxi expenses due to a service disruption, provided it was not the very last connnection of the day.

What you can do, though: you can ask for a refund of your train ticket and, if you arrived at the airport later than 60 minutes, a delay compensation.
You can find all necessary information here:
https://www.sbb.ch/en/help-and-contact/refunds-compensation/refunds-compensation/compensation-for-delays.html#anchor1
If you want to get in touch with the SBB customer service, please use the respective contact form:
https://www.sbb.ch/en/help-and-contact/customer-service/praise-comments.html
Kind regards,
Roland