With inflation at its highest level in three years, many Americans are turning to side hustles to earn extra cash.