Many academic disciplines bring no everyday life improvements. They exist because they provide intrinsic value and long-term foundations, hence they aren't merely entertainment. Mathematics/physics happen to be fields that span the entirety of applied/pure spectrum. Those said, your question can be generalized: Should society continue funding human intellectual activities when AI can perform them substantially better?