Neither the territory nor any political subdivision, directly or indirectly, is the guarantor of the safety of any amusement ride or attraction and shall not be liable with regard to its inspection of amusement rides or attractions as provided by this chapter.